-
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
issue with docker-env on restart #7017
Comments
could be related to preload ? this is 1.8.1 and in that release the preload for docker driver was broken but I tested with PR that fixes the preload and that one also has this problem |
@medyagh The error is because kic is not reflecting the port change on the internal docker. When you start kic for the first time it will map the internal docker port to an external port, local to the host:
external port: 32775 The internal port does match the dockerd inside minikube:
After stopping and starting again, even by doing the
external port: 32778 If you look into the port of the internal docker, you gonna see it is no longer
|
systemd file for VM $ cat /usr/lib/systemd/system/docker.service
systemd file for kic
|
interestingly systemctl restart wont change the port so it seems that if the restart happens through systemctl it will keep the port
|
with latest release 1.8.1
start minikube and eval docker env
build an image with docker
minikube stop
start minikube again (either stop and start or just start while it is running )
minikube correctly tells you that the docker-env port is changed and u need to re-eval
try re-eval:
$ docker ps
error during connect: Get https://127.0.0.1:32862/v1.40/containers/json: EOF
$ docker images
error during connect: Get https://127.0.0.1:32862/v1.40/images/json: EOF
inside minikube docker is working
The text was updated successfully, but these errors were encountered: