Using Docker Engine to Create a Swarm
Before we create our swarm, let's get a quick overview of the
docker-machine cli. Typing
docker-machine on your terminal should give you this output:
Just below that, we have our list of commands:
Remember to always use the
help option when you need to clarify something, that is,
docker-machine stop --help
To create our first Docker Swarm cluster, we are going to use
docker-machine to create our manager and worker nodes first.
Before creating the first machine, a quick overview of our objectives gives us the ...