docker service update --force web

Category: Docker

docker service update --force web

Force a service redeployment

Recreates every task of the web service even when nothing changed, picking up config or registry changes. Useful after a node drains or when tasks run stale images. Task history records the redeploy.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.