Docker Community Forums

Share and learn in the Docker community.

Setting up swarm without docker-machine


(Wnoorduin) #1

Most of the tutorials about docker swarm uses docker-machine and Virtualbox. While that is great, it adds an extra layer to my infrastructure.

Is there any tutorial for setting up swarm without the use of docker-machine / Virtualbox ? (So, just on two existing docker-hosts)

(Catdrich) #2

I was able to do this by following this with a few tweaks: Note I also had to install go (

We now have swarm successfully running on three Ubuntu 14.04 hosts. I’m using a file for swarm discovery (

Note we aren’t in production, but have not encountered an issues.