Docker stopped / status change notification


Recommended Posts

Generally, unraid just runs with very little input from me, which is perfect. However, a couple of times, a docker has stopped running for some reason. As it’s a docker I don’t use a lot and I don’t log in that often, I didn’t realise it had stopped.


Therefore, I was wondering if there’s a way to be notified of a docker status change, or if a docker stops from a running status?


Does such a thing exist?
 

Link to comment
1 hour ago, Squid said:

No to your actual question without creating a script to monitor the status

 

But you can try adding this to the extra parameters of the template

 


--restart always

 

So that the container will restart if it exits

 

Thanks for the tip, I've added this. I also assume I can do this on all dockers?

 

What was strange, was that I couldn't restart the docker until the weekly update came out.

 

If that's the case and it won't restart, what happens with the restart parameter?

Link to comment
On 08/10/2017 at 5:39 PM, WannabeMKII said:

If that's the case and it won't restart, what happens with the restart parameter?

 

 

Anyone able to advise? Will it just keep looping, or will it stop?

 

If it keeps looping, what's the side effect?

 

Would be great to have some sort of notification.

 

Thanks.

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.