moby--moby/image
Lei Jitang ee5228e799 Follow #28926, fix docker save can't share layers in the tar archive.
After https://github.com/docker/docker/pull/28926, if saving multiple images
which have common layers at same time, the common layers can't share in the tar archive
because the hash ID changes because of the Create time. The Create time is used for
pre v1.9 which treat each layer as a image and make no sense for after v1.10.
To make the hash ID consistent and keep the image save from >1.10 working properly
on pre v1.9, using a constant Create time `time.Unix(0,0)`.

Signed-off-by: Lei Jitang <leijitang@huawei.com>
2017-01-17 05:40:59 -05:00
..
spec Fix bunch of typos 2016-10-29 15:03:26 +08:00
tarexport Follow #28926, fix docker save can't share layers in the tar archive. 2017-01-17 05:40:59 -05:00
v1 *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
fs.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
fs_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
image.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
image_test.go Fix incorrect info and format of error in image 2016-12-20 18:20:15 +08:00
rootfs.go Windows: Skip layers+base images 2016-09-07 12:16:45 -07:00
store.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00
store_test.go *: use opencontainers/go-digest package 2017-01-06 18:48:41 -08:00