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

image docker.io/kubeedge/kubeedge-pi-counter:v1.0.0 can't been pulled. #154

Open
shawn-robusoft opened this issue Dec 14, 2023 · 1 comment

Comments

@shawn-robusoft
Copy link

[root@VM-0-100-centos kubeedge]# ctr image pull docker.io/kubeedge/kubeedge-pi-counter:v1.0.0
docker.io/kubeedge/kubeedge-pi-counter:v1.0.0: resolving |--------------------------------------|
elapsed: 5.6 s total: 0.0 B (0.0 B/s)
INFO[0005] trying next host error="pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed" host=registry-1.docker.io
ctr: failed to resolve reference "docker.io/kubeedge/kubeedge-pi-counter:v1.0.0": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

image
@shawn-robusoft
Copy link
Author

I used the command bellow to build locally and then import to the ctr local image.

make
make docker
docker save -o counter-app  kubeedge/kubeedge-counter-app:v1.0.0
ctr  -n k8s.io image import counter-app
ctr  -n k8s.io image tag docker.io/kubeedge/kubeedge-counter-app:v1.0.0 kubeedge/kubeedge-counter-app:v1.0.0
ctr  -n k8s.io image ls |grep counter

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

No branches or pull requests

1 participant