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 restart policy not working as expected

Featured Replies

I opened a similar topic a long time ago, but I did not get to the bottom of it. More docker experience and testing over 2 days prompted me to revisit.

I am trying to deploy docker containers through ansible. This is working mosly as expected, and I can perform basic functions through the dockerman interface. However there is an issue on reboot.

I am using "unless-stopped" as restart-policy. The way it is supposed to work (confirmed by testing on other linux OS) is that the containers will restart on docker daemon restart, unless they were intentionally stopped with the docker stop command. However, whenever I reboot, all the containers are stopped after reboot.

If I switch to the "always" restart policy, all the containers will be started after reboot, even the one intentionally stopped. This works as expected.

Is it possible that Unraid is not applying the expected logic when restarting the docker daemon and is setting all containers to the "stopped" state? Like issuing docker stop command to all containers before rebooting?

Solved by primeval_god

  • Community Expert
  • Solution
On 9/10/2025 at 10:54 PM, PierreT said:

Is it possible that Unraid is not applying the expected logic when restarting the docker daemon and is setting all containers to the "stopped" state? Like issuing docker stop command to all containers before rebooting?

Yes I believe that the unRAID explicitly stops all containers before stopping the docker daemon.

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.