-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
--insecure-registry does not work on an existing VM #4547
Comments
I am curious, which driver are you using ? hyperkit or virtualbox? |
do you mind sharing the |
I use virtualbox. logs:
|
I believe the root cause here is that this flag results in a change in the systemd docker unit, but we either aren't making the change, or restarting docker for restarts now. |
I've added the insecure registry manually at the machine config file |
I feel like this is because the addon needs the minikube to be restarted, and addon enable wont enable it witrhout stop and restart |
this seems to be a Bug ! "--insecure-registry" is not stick. we need to make sure all the start args stick in config. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This is still an outstanding issue. /lifecycle frozen |
Looks like it is still not fixed. I'm running minikube 1.19.0, and |
Smae problem. Using --insecure-registry flag doen't change docker daemon in minikube. The file /etc/docker/daemon.json doesn't have any notions of insecure registries. |
Still an issue on v1.29.0 |
minikube version: v1.1.1
operating system version: macOS 10.14
add the option
--insecure-registry="192.168.99.1:5000"
is newly added. And do minikue stop & start,but the option insecure-registry does not appear indocker info
. It will not take effect until dominikube delete
and recreate.I try
minikube ssh
and use root user edit/etc/docker/daemon.json
, thensystemctl restart docker
, but failed. I got err same as #3800:Is there any convenient way to make it effective?
The text was updated successfully, but these errors were encountered: