Can't pull/push with containerd #8677
Replies: 3 comments
-
Try using the registry endpoint [plugins."io.containerd.grpc.v1.cri".registry.configs."registry-1.docker.io".auth] |
Beta Was this translation helpful? Give feedback.
0 replies
-
[plugins."io.containerd.grpc.v1.cri".registry.configs."registry-1.docker.io".auth] updated but still error show |
Beta Was this translation helpful? Give feedback.
0 replies
-
Use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear, I can't solve this issue: ctr image pull docker.io/user/image:tag
docker.io/israfilbat22/insight-dashboard-service:desco-v1: resolving |--------------------------------------|
elapsed: 1.9 s total: 0.0 B (0.0 B/s)
INFO[0002] 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/user/image:tag": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed....
here my config.toml file:
cat /etc/containerd/config.toml
version = 2
[plugins."io.containerd.grpc.v1.cri".containerd]
default_runtime_name = "runc"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
runtime_type = "io.containerd.runc.v2"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
SystemdCgroup = true
[plugins."io.containerd.grpc.v1.cri".registry.mirrors]
[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"]
endpoint = ["https://registry-1.docker.io"]
[plugins."io.containerd.grpc.v1.cri".registry.configs]
[plugins."io.containerd.grpc.v1.cri".registry.configs."docker.io".auth]
username = "weio"
password = "sa;dfha"
Note: When i user and password use in command line then ctr pull command working good but when i user and password put into config.toml then doesn't work.
ctr image pull --user 'user:password' docker.io/user/image:tag -----its working
ctr image pull docker.io/user/image:tag ---- its not working
i want to use " ctr image pull/push docker.io/user/image:tag " credential use from config.toml file
please suggest me.
Beta Was this translation helpful? Give feedback.
All reactions