Jump to content

Stopping individual Docker containers before powerdown unRAID


Marv

Recommended Posts

Hi,

 

I'm using the S3 Sleep Plugin to powerdown my server automatically.

What sometimes happens is when powering up again that some of my Docker container's services are not working porperly (e.g. EmbyServer and JDownloader2)

I have to restart those containers to fix this.

 

So Is there a way to gracefully stop these containers before unRAID stops the Docker service and takes the array offline to shutdown?

 

I know there is a 'custom command before sleep' field in the S3 Sleep settings but this just seems to work when using 'sleep' as the execute function.

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...