-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
BUG: 镜像load后名字为localhost #2524
Labels
kind/bug
Something isn't working
Comments
I recurrent this issue Use docker.io root@ip-172-31-21-77: ~
# docker pull nginx [2:56:23]
Using default tag: latest
latest: Pulling from library/nginx
01b5b2efb836: Pull complete
db354f722736: Pull complete
abb02e674be5: Pull complete
214be53c3027: Pull complete
a69afcef752d: Pull complete
625184acb94e: Pull complete
Digest: sha256:c54fb26749e49dc2df77c6155e8b5f0f78b781b7f0eadd96ecfabdcdfa5b1ec4
Status: Downloaded newer image for nginx:latest
docker.io/library/nginx:latest
root@ip-172-31-21-77: ~
# docker save -o nginx.tar docker.io/library/nginx:latest
root@ip-172-31-21-77: ~
# sealos load -i nginx.tar -t docker-archive [3:06:55]
Getting image source signatures
Copying blob 8342f56cc886 done
Copying blob 384534ba6a14 done
Copying blob bd2fe8b74db6 done
Copying blob 50ec2edf53d1 done
Copying blob 1341eea4a0c3 done
Copying blob b74ced7dfeca done
Copying config 9eee96112d done
Writing manifest to image destination
Storing signatures
9eee96112defa9d7b1880f18e76e174537491bcec6e31ad9a474cdea40f5abab
root@ip-172-31-21-77: ~
# sealos images [3:07:07]
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/nginx latest 9eee96112def 3 days ago 146 MB Use hub.sealos.cn root@ip-172-31-21-77: ~
# docker pull hub.sealos.cn/labring/cert-manager:v1.8.0 [3:21:55]
v1.8.0: Pulling from labring/cert-manager
ce89e4c11681: Pull complete
Digest: sha256:6c77f1c7216c532a292538084f50f7a53ff6ae369b51276a4d895d3311fbde28
Status: Downloaded newer image for hub.sealos.cn/labring/cert-manager:v1.8.0
hub.sealos.cn/labring/cert-manager:v1.8.0
root@ip-172-31-21-77: ~
# docker save -o cert-manager.tar hub.sealos.cn/labring/cert-manager:v1.8.0 [3:22:28]
root@ip-172-31-21-77: ~
# sealos load -i cert-manager.tar -t docker-archive [3:25:02]
Getting image source signatures
Copying blob 4b77071d23be done
Copying config b5642a4faa done
Writing manifest to image destination
Storing signatures
b5642a4faaf82442ca02cf1715f406b6171b35ce78b01ac8af513a7927f1b981
root@ip-172-31-21-77: ~
# sealos images [3:25:10]
REPOSITORY TAG IMAGE ID CREATED SIZE
localhost/nginx latest 9eee96112def 3 days ago 146 MB
hub.sealos.cn/labring/cert-manager v1.8.0 b5642a4faaf8 7 months ago 39.4 MB It seems, localhost appears when get/save image from |
and then ? |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sealos Version
v4.1.4 v4.1.5-alpha2
How to reproduce the bug?
执行命令为 :
sealos pull labring/kubernetes:v1.24.9
sealos save -o kubernetes.tar labring/kubernetes:v1.24.9
sealos load -i kubernetes.tar
load进去的镜像会变成localhost
What is the expected behavior?
No response
What do you see instead?
No response
Operating environment
Additional information
No response
The text was updated successfully, but these errors were encountered: