examples icon indicating copy to clipboard operation
examples copied to clipboard

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

Open shawn-robusoft opened this issue 2 years ago • 1 comments

[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 avatar Dec 14 '23 14:12 shawn-robusoft

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

shawn-robusoft avatar Dec 15 '23 11:12 shawn-robusoft