Docker Swarm and Orchestration

Swarm rolling update policy

Plan update capacity and independent acceptance; service rollback does not revert database state. Six replicas with parallelism two: nominal four remaining or two extra overlap slots.

Formal Syntax & Structure

docker syntaxdocker
Parallelism / order / monitor / failure action

Working Example

Example Snippetdocker
4 replicas, stop-first, parallelism 1: nominal 3 other running tasks.
Docker Reference