-
Notifications
You must be signed in to change notification settings - Fork 2k
Docker daemon does not start properly on DigitalOcean #2366
Comments
When ssh to the host, the docker daemon is not running.
|
I don't think this is swarm specific, I'm seeing similar issues with digital ocean. |
Can you please paste the content of the Docker logs at |
For me the Docker daemon boots fine I just can't get validated certs...
|
On the client:
|
I got those logs in demo0
demo0 is a swarm master created with the following command
|
@lucj Just a guess, but probably you need to advertise on
Note that the |
@iammerrick Your issue seems different. Could I get you to open a new issue with the |
@nathanleclaire thanks, swarm creation is fine now. BTW, should eth0 be used on all the cloud provider ? |
As I have another issue when deploying a compose file on the swarm (docker-archive/classicswarm#1440), I have tested the creation of the swarm on DO using ubuntu 14.10 / 15.04 or 15.10 (to make sure Kernel is 3.16+). Until now I had only tested with the default ubuntu 14.04 (kernel 3.13). When I use Machine to create either consul / swarm master / swarm node, I have the same error message (whereas I do not have the error anymore when using 14.04):
Docker Engine is running on each host but I have this error when trying to connect:
Logging in through ssh is fine though:
Creation of my swarm is done with:
|
It seems likely to work on most, but it's not guaranteed. Cloud providers all set up their networking in slightly different ways. Sometimes you might want to use the Your second issue may be because support for Ubuntu >=15.04 hasn't been released in an official version yet, though it has been merged into master. In 0.5.2 release (about one weeks' time) support for this will be released. |
@nathanleclaire thanks for your answers. |
Thanks @lucj ! Glad you enjoy. |
@nathanleclaire advertising on eth0 fixed the problem. |
Same. Use eth0 NOT eth1. Of course, you can tell what to use by checking ifconfig |
I use the following script to create a consul KV and a swarm (one master + one node)
Output while creating demo0 swarm master (same error when creating demo1 swarm node)
I can ssh to the demo0 and demo1 nodes but got the following error when trying to switch to the context of those Docker hosts
I tried several times and got the same results each time.
My docker-machine version:
The text was updated successfully, but these errors were encountered: