Docker Community Forums

Share and learn in the Docker community.

Docker Swarm Windows - Host unreachable after docker swarm init


(Miro238) #1

Hi,
I have Windows Server 2016 Core(Hyper-V VM). Docker is installed, working and I want to create swarm.

IP config at the beginning:

  1. Ethernet - 192.168.0.1
  2. vEthernet (HSN Internal NIC) - 172.30.208.1

Then I run
docker swarm init --advertise-addr 192.168.0.1

Swarm is created, but I have lost my main IP address. IP config:

  1. vEthernet (HNS internal NIC) - 172.30.208.1
  2. vEthernet (HNS Transparent) - 169.254.225.229

Created swarm manager node is not reachable on main address 192.168.0.1. I can’t connect to it and swarm workers are not able to join with this IP. Where is the problem?

OS version: Windows server core 2016 version 14393.2214
Docker version: 17.06.2-ee-10