Docker Community Forums

Share and learn in the Docker community.

Use compose and swarm for simple static and robust setup


(Petrkali) #1

Referring to the official tutorial here: https://docs.docker.com/engine/swarm/swarm-tutorial/ I’m not sure how this setup would react to restarting individual hosts being part of the cluster.

I’m not really interested in clustering/elasticity options, rather a simple-to maintain and robust solution for static multi-host system.

The individual containers can be automatically started using docker’s restart policies. However, if the orchestration and potentially networking is bound to the swarm, even when restarted there still is a problem.

Can anybody point me to the right direction? Thanks.