To setup an example Swarm cluster using Docker Machine, please run the commands that follow.
All the commands from this chapter are available in the 07-docker-stack.sh (https://gist.github.com/vfarcic/57422c77223d40e97320900fcf76a550) Gist:
cd cloud-provisioning
git pull
scripts/dm-swarm.sh
Now we're ready to deploy the docker-flow-proxy service.