Command
$ docker-machine ls
gives me
NAME ACTIVE DRIVER STATE URL SWARM
default virtualbox Timeout
And If I run start.sh in Docker Toolbox I get
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
host is not running
docker is configured to use the default machine with IP
What does this state mean?
To solve the issue go to your Virtual Box and delete the virtual machine altogether. Then launch your Docker Quickstart Terminal. It creates the VM from scratch if it's not present and connects to it.
I saw this after altering my Virtual Box Host Adapters (changed IPs).
Docker machine gets timeout when we switch between wifi-networks/VPN. If we switch back to the same network where docker container was initiated, we can get back the docker-machine to running state.
If your not sure what network you started your docker-machine, then just restarting your computer must fix the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With