Currently I have a bunch of RHEL7 VMs
running on RackSpace
and want to deploy docker swarm for testing purpose. The Docker
Docs only describes the method to deploy docker swarm by using docker machine.
Question:
Since VirtualBox
cannot be used in VMs, are any other ways such that I can directly deploy docker swarm on my VMs without using docker machine?
In fact Docker documentation offers you how to set up a swarm cluster 'manually' without using docker-machine: Create a swarm for development
I think that this full step-by-step tutorial might be useful.
It details how to deploy Swarm with a multi-hosts network, without Docker-machine by using consul and suggest two different means for the Swarm agent discovery (static file and token).