Docker image archive recovery

A docker save archive ties manifest entries and config JSON to an ordered collection of layer tar files.

A saved image archive can include multiple tags, manifest metadata, configuration objects, and shared layers. Truncation may damage only a later member, while an absent layer prevents reconstructing the final filesystem state.

Understand the symptom

Tar integrity, layer diff content, config history, and manifest order must agree.

WHY

What is happening

A layer tar is a filesystem change set, not a complete filesystem. Whiteout entries represent deletion. Extracting readable layers without order or whiteout semantics produces misleading results.

What you may see

Symptoms that change the recovery path.

01

Unexpected EOF during load

The outer TAR or one layer member is truncated.

02

Layer does not exist

Manifest metadata references an absent member.

03

Invalid JSON

Manifest or configuration content is damaged.

04

Image loads but files differ

Layer order, whiteouts, or an incomplete layer may be wrong.

Protect the source

Actions that can make the situation worse.

01

Loading imports untrusted content

Analyze offline before using a runtime.

02

Flattening loses history

It discards layer boundaries and deletion semantics.

03

Re-saving changes identifiers

Keep original archive hashes and provenance.

Do this now

Safe steps before evaluation.

01

Hash and copy the archive

Preserve exact bytes.

02

Save the member list

Record offsets, sizes, names, and the first failure.

03

Collect daemon and registry copies

Local content stores may hold missing layers.

04

Preserve build context

Dockerfiles, lockfiles, base digests, and CI logs support validation.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Archive map

NEPFOSYS maps TAR members, manifests, configs, layer order, and readable ranges.

02

Layer recovery

Intact layer objects are extracted from copies with whiteouts retained.

03

Image validation

History, rootfs DiffIDs, paths, permissions, and trusted registry objects are compared.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

Can one layer be skipped?

Skipping it changes every later filesystem result and should not be treated as the original image.

Can a running container help?

Its writable and lower-layer storage may retain useful files or content references.

Is docker save the same as export?

No. Save preserves image layers and metadata; export captures a container filesystem without the same history.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case