Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

User Script: Re-Start failed Docker-Container

Featured Replies

Hi,

 

I've one docker container that somehow often fails to restart after e.g. stop for backup.

However, if manually initiated it, it works. Always. I tried checking logs etc but couldn't find a solution.

 

Then I remembered that User Scripts is able to use "restart" command to start a docker container and I could configure it to run every now and then.

However, I don't want it to restart if the status is already running. How can I add something like "if status = active, idle, else star/restart dockercontainer.

 

Can someone please help me to find those commands if possible or point me to script documentation? Or do I need to look at docker commands? Ofc. I tried searching the forums beforehand but couldn't find a solution or similar case yet. If I missed it, feel free to point me to it.

 

Thanks.

Please use the existing plugin support thread:

 

Locked since OP already re-posted on the plugin support thread.

  • JorgeB locked this topic

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.