October 15, 201510 yr Is there a way to schedule a job each day at say 5am to restart a particular (or all) docker(s)?
October 15, 201510 yr As part of my nightly appdata backup, I do just this. #Stop Docker Apps docker stop $(docker ps -a -q) #Start Docker Apps /etc/rc.d/rc.docker start
October 15, 201510 yr Out of curiosity, why do you need yo restart the dockers? Are you experiencing other issues and using this as a workaround?
October 15, 201510 yr Author Out of curiosity, why do you need yo restart the dockers? Are you experiencing other issues and using this as a workaround? To be honest with you it's just my Plex docker. It seems once every few days it's crashes and I need to restart the docker. This just started happening and every time it has I've been so anxious to get it restarted that I forget to check the Plex crash logs which get erased upon reboot. I'll need to remember to check next crash before restarting the docker.
October 15, 201510 yr You could use some logic to check if plex is runing properly. If it is, do nothing, if not, restart the docker.
Archived
This topic is now archived and is closed to further replies.