This a BUG REPORT
Minikube version v0.9.0
:
Environment:
1.12.1
What happened:
We currently host Docker images on a private, insecure registry hosted behind our firewall. (I use a VPN client (openconnect) in order to access the private registry.)
After adding the URL of the private registry in the "Advanced" tab of the Docker.app UI, I was able to use the Docker CLI pull and run images from the private registry without any problem.
I figured that I should be able to do the same thing after starting Minikube and specifying the same registry hostname:port combination that I did in the Docker UI, but using the --insecure-registry
flag instead. However, when I tried to run the same image as above, the pod didn't start up, and I saw errors like the following:
Failed to pull image "<image-name>": Error response from daemon: Get https://<registry-hostname>:5000/v1/_ping: EOF
I tried minikube ssh
-ing into the VM and noticed that there was no evidence of the --insecure-registry
flag being passed to the docker daemon
command. I expected to see it included in EXTRA_ARGS
in /var/lib/boot2docker/profile
. I tried adding the flag to that file and restarting the Docker daemon -- and was then able to pull and run images from the private registry as expected. Of course, when I stopped and restarted the Minikube VM, my changes were lost and I was no longer able to pull from the private registry.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4