-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Auth to Docker Hub registry not working #8612
Comments
@dmcgowan I noticed you recently updated docs in #8186 (comment) (appreciate that!) Is it possible to add a Docker Hub example to the registry credential docs? There is uncertainty on how to correctly make this configuration. I imagine many people may want to configure |
Dear, I can't solve this issue: ctr image pull docker.io/user/image:tag here my config.toml file: cat /etc/containerd/config.toml [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] [plugins."io.containerd.grpc.v1.cri".registry.mirrors] 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 i want to use " ctr image pull/push docker.io/user/image:tag " credential use from config.toml file please suggest me |
@israfilalam22 this issue is related to using |
Description
We configured
dockerd
to authenticate every image pull request to Docker Hub to avoid rate limits. We also have private images in Docker Hub. Authenticating all image pull requests conveniently handles rate limit problems and private images.As EKS clusters upgrade to 1.24 and beyond, we still want
containerd
to authenticate requests to Docker Hub to continue avoiding rate limits.I have reviewed the Configure Registry Credentials docs but still do not have authenticated pulls to Docker Hub working with
containerd
.Steps to reproduce the issue
amazon-eks-node-1.24-v20230513
into a 1.24 EKS cluster with self-managed nodescrictl
pull command:Describe the results you received and expected
What doesn't work
crictl pull docker.io/my-company/my-app:8.3.0
to pull this private image successfully, using authenticationWhat does work:
--username
tocrictl pull
to validate credentials and network pathWhat version of containerd are you using?
containerd github.com/containerd/containerd 1.6.19 1e1ea6e
Any other relevant information
Versions
crictl-info.json.txt
Show configuration if it is related to CRI plugin.
/etc/containerd/config.toml
I have reviewed the following community discussions and there is no clear solution:
#8186
#5404
#6493
The text was updated successfully, but these errors were encountered: