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 Start all with Autostart

Featured Replies

Feature request:

as it says:
If all (or some) docker are stopped, then a button with start all with autostart enabled would be nice.
So you don't have to start all manually or start all and then stopp the undesired.

If it's a duplicate, pls. erase.

You can do this by setting the below Extra Parameter on each Docker. Upon array startup, the Docker will now also startup.

 

“--restart=always”

 

327AD6BE-C418-46A1-A7B2-65A1A33BF474.thumb.jpeg.68a00cc1a834ba63d2a5f94a98e85279.jpeg

  • Author

But If I stop all containers with the button, will they restart on their own (i don't want that)

  • 3 weeks later...
On 5/14/2022 at 11:10 AM, Norcunas said:

But If I stop all containers with the button, will they restart on their own (i don't want that)

 

use

--restart unless-stopped

then :)

Edited by Jokerigno

  • 1 year later...

I second this feature request. The easiest way to do it currently is by restarting the Docker service, which is far from ideal.

  • 1 month later...

Thirded - it would be awesome if there was a simple way after doing "Stop All" to do "Start All" (which were set to auto start).

  • 4 months later...

Does anyone know if it's possible for a script to detect individual docker's "Autostart" setting? If so, you could create a script that only starts all dockers with the setting enabled.

Since the containers still exist, but are only in the exited status, you can start all of them via

docker start $(docker ps -q --filter "status=exited")

 

11 hours ago, Kudagra said:

Does anyone know if it's possible for a script to detect individual docker's "Autostart" setting? If so, you could create a script that only starts all dockers with the setting enabled.

For someone with some knowledge in bash that is pretty easy. It is just some text processing. All information are stored in the template in /boot/config/plugins/dockerMan/templates-user. I am doing something similar with description of the shares.

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.