Jump to content

Docker Service Start Delay (on boot)


Recommended Posts

Hi all I am new to Unraid and still have loads to learn on its internals.

I have a bunch of Docker containers that use data from a network share mounted with the plugin unassigned devices.

The issue I have is when unraid reboots docker containers are brought up before the network shares are mounted so I have to manually restart all docker containers once the shares are mounted.

I know how to put a delay on other linux systems, either a time delay or a condition match delay (preferable)

(ex creating a systemd service configuration rule)

 

 

But I don´t know how to do it here with Unraid.

Can someone help me?

Thanks :D

Link to comment

Hi. I think I figured it out xD

It can be done in the Docker Tab using the advanced view and setting a wait value in seconds

image.png.b0cff80db67200d637af304cec14b532.pngimage.png.301d7e158c06999696296c561db90dfc.png

I also noticed you can drag and drop each docker in the list (to change start order in case you have dependencies)

This will do for me and I would consider the issue solved.

  • Like 1
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...