Docker Community Forums

Share and learn in the Docker community.

Create multi-cluster swarm


(Danielinclouds) #1

Hi,
Is it possible to create multiple clusters managed by one swarm master?

What I would like to have is one master that would manage 4 hosts (swarm agents). Two host would be used by production environment and another two would be used for development environment.
During container deployment I would like to add a switch to command like --dev or --prod that would show swarm master on what host set the container should land.

Is it possible with docker swarm?