March 2020
Beginner
592 pages
14h 14m
English
In the preceding output, we cannot see the details of the 6 replicas that have been created. To get some deeper insight into that, we can use the docker service ps command. If we execute this command for our service, we will get the following output:

In the preceding output, we can see the list of six tasks that correspond to the requested six replicas of our whoami service. In the NODE column, we can also see the node to which each task has been deployed. The name of each task is a combination of the service name plus an increasing index. Also note that, similar to the service ...
Read now
Unlock full access