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.

Docker Dependencies for auto-start

Featured Replies

So I understand that we have "wait" and also can organize docker containers from top to bottom for auto-start priority, but is there a way we can add in dependencies?
For instance, I don't want my Wordpress container to start until after I'm sure that my MariaDB container is running. Or for Sonarr/Radarr, I don't want them up and running until my download container is good.

  • Community Expert

Not that I know off, other than ensuring that the wait value is large enough.

 

I am not sure how you could tell that a container had finished starting up in any reliable manner.

You can turn off auto start for the downstream dependencies and script their startup manually.

 

@Squid had a great container startup management tool with dependency checking that was plowed under when the OS introduced wait and ordering natively. Yes, I'm still bitter about that.🙂

 

So many of his superior implementations get tossed aside when the OS introduces a watered down version of the same functionality.

3 hours ago, itimpi said:

 

I am not sure how you could tell that a container had finished starting up in any reliable manner.

Query the service in question from the command line. for example if you telnet to port 3306 if the mariadb is running it will spit out some version info and close the connection. If no response, it's not running.

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

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.