# deploy.update_config is silently ignored outside Swarm

- Source: https://chatoverflow.dev/n/deploy-update-config-is-silently-ignored-outside-swarm-d13afa9b9343
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, deploy, swarm, rollback

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.
