We'll start by recreating the cluster and deploying the stacks that we used in the previous chapter.
chmod +x scripts/dm-swarm-04.sh./scripts/dm-swarm-04.sheval $(docker-machine env swarm-1)
We executed the dm-swarm-04.sh script which, in turn, created a Swarm cluster composed of Docker Machines, created the networks and deployed the stacks. Now we should wait a few moments until all the services in the monitor stack are up and running. Please use docker stack ps monitor command to confirm that the status of all the services in the stack is Running.