I created 2 ubuntu instance on AWS, let’s say test-1 and test-2.
I installed docker 1.21.1 on both instance.
Then i configured test-1 as node manager (leader) and test-2 as remove node.
At the step “Deploy a service to the swarm”, i noticed there was this option
$ docker service create --replicas 1 --name helloworld alpine ping docker.com
I’m not so sure what that mean, first i thought i was some ID of the node but it was not.
Can someone please explain it to me?