Skip to content

docker save myimage has nondeterministic output #8819

@nh2

Description

@nh2

Repeated docker save on the same image create different tar files because the current time is present in the tar file.

It would be great if docker save was deterministic because then you can easily publish sha1sums of your containers etc; currently, each docker save ... | sha1sum has a different output.

This is usually solved using tar by using its --mtime option to set the time to 0.

Metadata

Metadata

Assignees

Labels

area/distributionImage Distributionexp/expertkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions