Increase time befor container kill in docker and losing config

  • Ive been having this problem for a while and googled a bit, but have found it quite confusing as there are several github post of people saying that it doesnt work as it should.

    My deluge and openvpn container tend to lose the configuration sometimes after restarts (puid, pgid, ports, etc) and I read that it could be that they are being force stopped. So i want to give them more time to properly stop before being killed. I read that the default is 10s + 5s, but I have the server connected to a small UPS so would like to give it 90s to try and stop correctly, is there a way to do this?

    Tried editing the .json adding shutdown timeout 90, but doesnt seem to work.



    Thanks

  • totopesce

    Changed the title of the thread from “Increase time befor container kill in docker?” to “Increase time befor container kill in docker and losing config”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!