Docker machine timeout - how to fix without destroying the machine? Docker machine timeout - how to fix without destroying the machine? docker docker

Docker machine timeout - how to fix without destroying the machine?


This command worked for me with the digitalocean driver:

docker-machine ls -t 20

It seems as though the default timeout of 10 seconds was too short.


This is usually a problem related to the way you start and stop your machine.

You can solve it using

  1. $ docker-machine stop default
  2. $ docker-machine start default
  3. $ docker-machine regenerate-certs default

Do not use docker-machine restart default because it will not refresh your networking configs.


Check if you are are using a proxy or VPN!

None of the above suggestions worked for me until I turned off my VPN and suddenly:

docker-machine.exe lsNAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER     ERRORSdefault   *        virtualbox   Running   tcp://192.168.99.102:2376           v19.03.5