So i want to cyclically restart my docker container (once a week - let's say Sunday, 22:00) Does anyone know how to call docker restart ID every Sunday?
So i want to cyclically restart my docker container (once a week - let's say Sunday, 22:00) Does anyone know how to call docker restart ID every Sunday?
You could set up a restart policy with the docker run command, and use the -d parameter which Docker recommends,
More information in the docker documentation, https://docs.docker.com/config/containers/start-containers-automatically/
Update: