Currently I am facing the following problem:
I set up 3 virtual box machines with a debian and installed docker. No firewall in place. I created a swarm making one machine the manager and joined the other two as workers as described in countless web pages. Works perfect. On the swarm manager I activated a remote API access via -H :4243... and restarted the deamon. (only on the swarm manager) 'docker node ls' qualifies all nodes being active. When I call http://:4243/nodes I see all nodes. I created an overlay network (most likely not needed to illustrate my problem. Standard Ingress Networking should be ok too) Then I created a service with 3 replica. specifying a name, my overlay network and some env params. 'docker service ps ' gives me the info that each node runs one container with my image. Doublechecking with 'docker ps' on each node says the same.
My problem is: Calling 'http://:4243/containers/json' I only see one container, the one on the swarm manager.
I expect to see 3 containers, one for each node. The question is why ?
Any ideas ?