Roll back a swarm service
firefightThe rolling update ate the service. Inspect it, roll back, watch the tasks come home.
mode
docker · bad deploy · difficulty 3
docker service ls --filter name=api
oncall@ops-01:~$docker service ps api --no-trunc --filter desired-state=running
oncall@ops-01:~$docker service inspect api --format '{{.PreviousSpec.TaskTemplate.ContainerSpec.Image}}'
Enter submits a line · Tab then Enter restarts · Esc releases focus
Playing as a guest. Runs are saved against a device-local id — sign in with GitHub to keep your history and appear on the leaderboards.