docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.76k stars 1.08k forks source link

Rollback to image of the same tag #2960

Closed braunsonm closed 4 years ago

braunsonm commented 5 years ago

Is it possible to have docker service rollback rollback to the previous cached image? For instance, imagine an upstream change to the image tagged latest causes a service to break. Is it possible for the rollback to use the previous image even if it has the same tag?

Would be cool if this usecase was explained in the docs. I can see in the service inspect that the hash is saved with the image, so I thought it could be possible.

Thanks.

justincormack commented 4 years ago

This issue is for https://github.com/docker/swarmkit not the old standalone Swarm.