docker-env: "docker run" and "docker rm" hangs #7497
Labels
co/docker-env
docker-env issues
co/runtime/docker
Issues specific to a docker runtime
kind/support
Categorizes issue or PR as a support question.
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Steps to reproduce the issue:
eval "$(minikube docker-env)"
docker run
,docker ps -a
to deploy a container and get a container ID.docker rm -f <container ID>
For example, deploy an HTTP echo server this way. However, the echo server does not actually bind to localhost:8080 as far as the host observes.
At this point, many things freeze up. The
docker rm -f
... stalls. Control+C (SIGINT) is unable to kill this.minikube docker-env
also stalls.Fortunately,
minikube delete
is able to temporarily fix the corrupt cluster, until you repeat the steps.In fact, even the
docker rm -f
... continues to stall afterminikube delete
completes, so you'll have to manually close the shell session and launch a new one.Some good news: I repeated the steps on Windows (Git Bash). As before, host curl was unable to bind to the microservice on 8080. But nothing freezes up, and Control+C is able to terminate the
docker run
. Maybe this is a Mac thing? Just a Catalina thing? Just a static GNU Linux binary on HyperKit thing?Curious how native Command Prompt and native PowerShell sessions behave. I'd also like to try WSL but I don't have a functioning WSL host at the moment. Also curious about Linux hosts.
The text was updated successfully, but these errors were encountered: