Customizable docker stop timeout per container rather than globally


Recommended Posts

A way to set the docker stop timeout (normally specified with the -t paramater in the `docker stop` command), per container rather than globally. Use case: Containers which require extra time to stop, in order to save databases and other shutdown tasks (for example, the Storj container), but without increasing system stop time in the event of a misbehaving different container. In addition, this should apply to the "stop" command in the GUI, which I'm unsure if currently obeys the system default.

 

See discussion thread: 

 

Edited by Alexstrasza
Link to comment
  • 2 months later...
  • 3 weeks later...
  • 6 months later...
3 hours ago, NIronwolf said:

Yep this would help a lot with save game corruption on game dockers.  Tough to tell my players the hundreds of hours of work they put in are just a garbled mess.

Generally speaking this isn't an issue with game containers as they can stop so quickly (within 15s or so). Do you have any specific examples?

Link to comment
  • Alexstrasza changed the title to Customizable docker stop timeout per container rather than globally

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.