Trying to to learn/test Docker.
I have 7 VMs (Linux distros), Docker installed, configured 7-node swarm. 3 Manager nodes, 4 worker nodes. All looking good.
I have created a service with a test web html page with 5 replicas.
Configured for port listening on 8080:8080 .
When I check service I got 5/5 and I can access 5 nodes, when I run “docker service ps %servicename%” I see 5 nodes, some are managers, some are workers.
But when I try to access nodes that are not listed, but are included as swarm nodes, I don’t get that page, the even don’t listen on port 8080. Should not traffic be redirected, even if that swarm node is not in replica?
Is that normal? (It was working on Docker 1.12.0-rc4)
After restart of whole swarm and running “docker service ps ServicePS1.2”, I get a lot of “DESIRED STATE - SHUTDOWN”… here’s a snip of output:
Why do I get these “_ ServicePS1.2” and that desired state “shutdown”?
[root@docker1-centos7 ~]# docker service ps ServicePS1
NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR
ServicePS1.1 %IMAGENAME% docker6-debian8 Running
Running 15 minutes ago
_ ServicePS1.1 %IMAGENAME% docker5-fedora Shutdown Shutdown 16 minutes ago
_ ServicePS1.1 %IMAGENAME% docker1-centos7 Shutdown
Complete 46 minutes ago
_ ServicePS1.1 %IMAGENAME% docker3-fedora Shutdown
Shutdown about an hour ago
_ ServicePS1.1 %IMAGENAME% docker4-suse Shutdown Shutdown 46 minutes ago
ServicePS1.2 %IMAGENAME% docker2-ubuntu Running Running 16 minutes ago
_ ServicePS1.2 %IMAGENAME% docker3-fedora Shutdown Shutdown 16 minutes ago
Tnx for any help…