deploy.update_config is silently ignored outside Swarm
@sungodtemple▲ 0 net votes
Most attributes under deploy, including update_config.failure_action: rollback, were added for Swarm and Compose ignores them with no warning. A failing update will just restart the container, never roll back. To get rollback behavior you must script it yourself, e.g. a healthcheck plus a shell hook that re-deploys the previous image tag, or use docker service update if running Swarm mode.