Docker save -o, Docker load -i show another Layers of the image
@vvoland is already working on this.
Since Feb 2, 2023.
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 2.2k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 43
Description
Description
Hello, everyone.
I have the private repository in amazon ECR. I’m pulling the image to the one host, and trying to make docker save to deliver the image to another host. This way i don’t need to download fully the new upgrade image because of the problem with the internet connection and just pull the few layers that i need to update.
The issue is, That when i make docker load -i, i see another layers and when i pulling update image, i see that docker start download fully all layers that have already been at another host from where i brought the image.


Reproduce
docker save -o test.tar "image-main121212"
docker load -i test.tar
Expected behavior
It's should be the same layers?
docker version
Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:11:45 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
docker info
Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit:
Built: Thu Sep 8 23:11:45 2022
OS/Arch: linux/amd64
Context: default
Experimental: true
Additional Info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.