With our newly-gained understanding of the orchestration and management offerings out there, it is time to try this out ourselves. In our next exercise, we will first try to use Docker Swarm to create and play a bit with a local cluster and then we will try to deploy our service from the previous chapter onto it.
Implementing orchestration
Setting up a Docker Swarm cluster
Since all the functionality to set up a Docker Swarm cluster is already included in the Docker installation, this is actually a really easy thing to do. Let's see what commands we have available to us:
$ docker swarm
<snip>
Commands:
init Initialize a swarm
join Join a swarm as a node and/or manager
join-token Manage join tokens...