topgrade
topgrade copied to clipboard
Restart containers when upgraded
I wanted to know if there is already a config option to restart containers once they are upgraded.
I want to suggest some general feature
There could be a configuration option to automatically restart containers when they are upgraded.
[containers]
restart=false
would like to see this as well. simply updating containers is useless without restarting them so the new images are used.
Would like to give me a demo of how to do this?
Per How to upgrade docker container after its image changed, update of an image won't be automatically applied to the existing containers
it should work just as watchtower does it