Docker Community Forums

Share and learn in the Docker community.

Setting up swarm without docker-machine

docker

(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: https://github.com/docker/swarm. Note I also had to install go (https://golang.org/doc/install#install)

We now have swarm successfully running on three Ubuntu 14.04 hosts. I’m using a file for swarm discovery (https://docs.docker.com/swarm/discovery/)

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