Hi, I would like to know what will happen when my Docker package updates automatically?
I have autoupgrade = true.
Let’s imagine that tonight at 8pm my clear linux will update automatically and everything will go as planned (and there’s an update of Docker) will my docker restart ?
No. Your Docker service will not restart after an update on its own. If you want to restart it automatically whenever the bundle gets an update you can use triggers. Check out
/usr/lib/systemd/system/update-targets.wants/
A better way to allow automatic restarting of services after an update is to use the Clear Linux service for this: clr-service-restart: https://docs.01.org/clearlinux/latest/guides/maintenance/restart.html
2 Likes
That is very nice. I knew could be used to check for services that need restart (just from the notification you get in tty that need a restart is needed) but I didn’t put it together that it could be used restart them as well.