The script uses docker-machine in order to create and configure a Swarm cluster of managers and workers
- docker
- docker-machine
- Oracle Virtual Box
The following script takes 2 arguments:
- num-managers
- num-workers
For example, in order to create a Swarm cluster of 3 managers and 2 workers run: create_swarm_cluster.sh 3 2