-
Notifications
You must be signed in to change notification settings - Fork 121
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
Unable to pull image #2693
Comments
It seems that the VM can't reach your registry. Can you try to run |
The connection appears to be fine, Please find the command o/p below..
|
Can you launch it with a simple docker run command ? If it works, I suppose this is a Kubernetes configuration issue. Also, can you upload a diagnostic ? Not sure I can find something relevant inside. |
docker pull and docker run works fine, I have not done any configuration changes and it's a plain installation by following the instructions at https://docs.docker.com/docker-for-mac/#kubernetes Could you please share the steps for collecting the diagnostics logs? Thanks!. |
The diagnostic logs have been collected and uploaded. Below is the diagnostic ID 98B87A0F-3659-4DD1-8D39-700D8D4F0B68 |
I can confirm - same issue here |
Same for me with a private artifactory and the standard configuration |
Hello, I'm getting the similar issue with pulling image from private registry.
Engine: 18.05.0-ce -- |
Found root cause for my case. upgdate kubectl client to v1.9.6 helped. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Not ideal, but manually pulling and setting "imagePullPolicy: Never" works as intended. Seems like the VM that docker is using for does not have access to the creds on the filesystem, guessing a mount of some kind is necessary to actually fix. |
Is there a fix for this issue I still have the same issue on the l |
Try to add --image-pull-policy=IfNotPresent with your kubectl run command. |
This is already the default policy if not specified. The issue is not being able to pull from a private repository although the docker demon is configured to. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Greetings,
I have deployed Docker for Mac with K8 support from the edge channel (Version 18.03.0-ce-rc1-mac54), The installation went fine without any issues. But I am facing issues with my kubectl deployments while pulling the image from my private nexus OSS repository. I have added my registry into the insecure registry list (Docker->Preferences->Daemon option) and I'm able to pull the images with "docker pull", but the kubectl deployment always fails with the below error.
The below snip is taken from kubectl describe pod, Appreciate if you could shed some light on fixing this issue. Thank you!
The text was updated successfully, but these errors were encountered: