-
Notifications
You must be signed in to change notification settings - Fork 2k
docker-machine create using digitalocean driver needs droplet reboot to start listening on 2376 #4860
Comments
How do you restart your droplet whilst it is just in creation mode by the "docker-machine create" command. Is it possible to share the snippet of this workaround? Thanks in advance |
The full PowerShell script workaround:
So, the Note: waiting on port 2376 without rebooting does not work. |
Thanks. With your insights I decided to it manually. 1 - reboot the droplet. About 2 months I need to execute the script again, by that time, I hope it is resolved :) |
Make sure to +1 the issue then! |
For me I needed to restart the Docker service (in an Ubuntu host).
After restarting
|
This seems to be the same problem than #4858. |
I noticed that last week my deployment scripts stopped working. The main problems is:
docker-machine create "--driver" "digitalocean" [other driver settings] "droplet-name"
This errors with:
This happens consistently. It seems to be because the docker host fails to listen on port 2376. I presume because docker does not start.
Rebooting the droplet after issuing
docker-machine create
forces docker to start listening on port 2376 and everything then works as normal, so I have added this workaround to my deployment scripts.The text was updated successfully, but these errors were encountered: