So far, we have looked at the following commands:
$ docker swarm <command>
$ docker node <command>
These two commands allow us to bootstrap and manage our Docker Swarm cluster from a collection of existing Docker hosts. The next two commands we are going to look at are as follows:
$ docker service <command>
$ docker stack <command>
The service and stack commands allow us to execute tasks that, in turn, launch, scale, and manage containers within our Swarm cluster.