Host unreachable after docker swarm init Host unreachable after docker swarm init docker docker

Host unreachable after docker swarm init


A little late answering this but ... Docker is going to take over your network card when you bring up the Swarm. What I did was use two network cards: one I left alone for Docker to use and the second I used for everything else including virtual machines.


Currently, you cannot use Docker for Mac or Docker for Windows alone to test a multi-node swarm. For single node swarm cluster,

If you are using Docker for Mac or Docker for Windows to test single-node swarm, simply run docker swarm init with no arguments

However, you can use the included version of Docker Machine to create the swarm nodes (see Get started with Docker Machine and a local VM), then follow the tutorial for all multi-node features

For furthere info read this

Edit:

Also refer to this