I would like to do a ping from my worker node(Windows server 2016 using VMware) to my manager node (windows 10 pro host machine)
Both are running in windows container and the base image is windows server core.
Disabled firewall and real time protection on both nodes.
My steps:
I initialized the swarm: docker swarm init --advertise-addr 10.2.40.56 --listen-addr 10.2.40.56:2377
Copied the token run it on my work node (VMware): docker swarm join --token xxx 10.2.40.56:2377
Create my overlay network: docker network create -d overlay oscnetwork docker network ls
NETWORK ID NAME DRIVER SCOPE
d3d31701c63c Default Switch ics local
223b63c174a6 MyNewVM transparent local
kkg48ht1mm2i ingress overlay swarm
0502c3c90154 nat nat local
398e644b974d none null local
0c57431eex76 oscnetwork overlay swarm
Node check:
docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
x743m4s7e88teo8r556pps7x0 * DESKTOP-MND1RMF Ready Active Leader 18.09.2
q5khhc9sxtx2arq5vnzk1ff1g WIN-O80KBT0ALHF Ready Active 18.09.3
Create a service for both manager and worker:
docker service create --name testService --network oscnetwork --replicas 2 -t mcr.microsoft.com/windows/servercore
fex0sohv28dbrrweknuieal6o
overall progress: 2 out of 2 tasks
1/2: running [==================================================>]
2/2: running [==================================================>]
verify: Service converged
Checking of services: docker service ls
ID NAME MODE REPLICAS IMAGE PORTS
fex0sohv28db testService replicated 2/2 mcr.microsoft.com/windows/servercore:latest
C:\WINDOWS\system32>docker service ps testService
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
fui0wmz53y6n testService.1 mcr.microsoft.com/windows/servercore:latest DESKTOP-MND1RMF Running Running 29 seconds ago
3y7onvm565eb testService.2 mcr.microsoft.com/windows/servercore:latest WIN-O80KBT0ALHF Running Running 38 seconds ago
Check for manager node's ipv4: docker network inspect oscnetwork
I would like to do a ping from my worker node(Windows server 2016 using VMware) to my manager node (windows 10 pro host machine)
Both are running in windows container and the base image is windows server core.
Disabled firewall and real time protection on both nodes.
My steps: I initialized the swarm: docker swarm init --advertise-addr 10.2.40.56 --listen-addr 10.2.40.56:2377
Copied the token run it on my work node (VMware): docker swarm join --token xxx 10.2.40.56:2377
Create my overlay network: docker network create -d overlay oscnetwork docker network ls
Node check: docker node ls
Create a service for both manager and worker: docker service create --name testService --network oscnetwork --replicas 2 -t mcr.microsoft.com/windows/servercore
Checking of services: docker service ls
Check for manager node's ipv4: docker network inspect oscnetwork
Check for worker's ipv4: docker network inspect oscnetwork
Under my worker node (running container): ping 10.0.0.3
Ouput: Pinging 10.0.0.3 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out.
Ping statistics for 10.0.0.3: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Expected output": Able to send packets.
Ports Used:
I could not figure out what went wrong. Would appreciate if someone could help me. Thank you.