Jump to content

Cleanest Way to Have Specific Docker Containers Automatically Restart at a Scheduled Interval?


Recommended Posts

Is there a clean way to schedule auto-restarts for specific docker containers?

 

I have been battling with Nextcloud and MariaDB for over a year now, and I haven't been able to find an effective solution to maintaining its performance speed consistently. The only method that works is restarting MariaDB, which brings the speed back to usable.

 

Until I find the issue, I would like to simply have the docker container restart a few times a day so Nextcloud will continue to work when I'm away from the server.

 

Any easy way to do this?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...