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.

Change Docker stop timeout

Featured Replies

I need to set the --time parameter to something greater than 10 seconds as some of my apps need to gracefully shutdown and they can take up to 30 seconds processing files.

 

Is there anyway to change the --time parameter on docker stop/restart?

 

Reference: https://docs.docker.com/engine/reference/commandline/stop/

Edited by NeverBeenDrunk

  • 10 months later...

@limetech

I would need to do the same, the database of the Storj Docker keeps get corrupting becuase the timeout is too short.

I could shut it down manually but it would be great to be able to customize the timeout for this docker in particular, or for all of them, whatever is easier.

 

Is there a way to do this without you requiring you to modify unraid? Stopping the container from the interface with a bigger timeout

 

Thanks

CA Userscript plugin + write a bash script with docker stop, sleep and docker start.

You can control the sleep time to any arbitrary length.

 

 

40 minutes ago, testdasi said:

CA Userscript plugin + write a bash script with docker stop, sleep and docker start.

You can control the sleep time to any arbitrary length.

 

 

But that is basically the same than stopping the container from command line. I only want to do this with 1 container. Not all.

27 minutes ago, L0rdRaiden said:

But that is basically the same than stopping the container from command line. I only want to do this with 1 container. Not all.

Docker stop can be used to stop a specific docker

docker stop docker_name

 

20 hours ago, testdasi said:

Docker stop can be used to stop a specific docker


docker stop docker_name

 

I know I can do this

 

docker stop -t 300 DOCKERNAME

 

but what I want is to implement this somewhere so is the default behaviour when I click on the docker and then click stop is this.

  • 9 months later...
On 7/31/2019 at 9:32 AM, L0rdRaiden said:

I know I can do this

 

docker stop -t 300 DOCKERNAME

 

but what I want is to implement this somewhere so is the default behaviour when I click on the docker and then click stop is this.

I am at the same point. Would be really coll and usefull. An extra parameter in each or general in docker would be really helpfull for a lot of sensitive dockers

  • 3 weeks later...

Exact same problem with the exact same use-case as @L0rdRaiden.  Did anyone find a solution to this?  Otherwise I might propose this a a feature request.

You should post this as a feature request.  As I recall, a few years ago I did submit a PR to the webGUI to do this, but it was declined because the issue didn't affect the user's system ?!??!

1 hour ago, Squid said:

You should post this as a feature request.  As I recall, a few years ago I did submit a PR to the webGUI to do this, but it was declined because the issue didn't affect the user's system ?!??!

Please can you link me to that pull request?  If possible, it would probably make more sense to request they review it again (considering you've already done the work).

Can't find it or the conversation.  Maybe it was via a PM here years ago.  IDK

  • 4 weeks later...

Was the feature request submitted for this finally?

7 hours ago, MrChunky said:

Was the feature request submitted for this finally?

Sorry, I forgot all about this.  I've made one now: 

 

16 hours ago, Alexstrasza said:

Sorry, I forgot all about this.  I've made one now: 

 

Thank you 😘

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.