We offer docker swarm development services that use a declarative model, which means that you define a particular desired state of the service, and trust docker to maintain its state. The defined state includes information such as:
The image name and tag
Number of containers
Whether any ports are exposed to clients outside the swarm
The specific behavior that happens when the service is restarted
Characteristics of the nodes