Auto reboot docker in the cloud?

I have QuantRocket running on AWS and I see that the machine gets slower and memory get full. I would like to restart the docker automagically every day. Is there is command from with the Countdown I can give to reboot the docker? Or is there another way I can do this without typing in the commands myself?

You can’t restart Docker from within QuantRocket, but you can try to use crontab or Task Scheduler on the machine where you run Docker commands.

1 Like