Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker save -o, Docker load -i show another Layers of the image #3776

Open
MaxZapletin opened this issue Sep 15, 2022 · 4 comments
Open

Docker save -o, Docker load -i show another Layers of the image #3776

MaxZapletin opened this issue Sep 15, 2022 · 4 comments

Comments

@MaxZapletin
Copy link

MaxZapletin commented Sep 15, 2022

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.
image
image (1)

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

@MaxZapletin
Copy link
Author

Anybody know something?

@bsousaa
Copy link
Contributor

bsousaa commented Nov 24, 2022

Does this issue happen with this image specifically or do you have a public image we can use to reproduce?

@MaxZapletin
Copy link
Author

Hey, thank you for response.
It's happen with all images... You can try to download image and after that Save to archive and you will see differnet UUID of layers.
Look at attached pic, You can see that for the same image layers is deferents.

image

@sam-thibault
Copy link
Contributor

@vvoland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants