#29 Shutdown docker containers gracefully
Closed: Fixed None Opened 8 years ago by jsedlak.

Data container is running tail -f, webui container runs script and when docker shuts down container, it sends SIGTERM signal, waits 10 seconds and then sends SIGKILL. Since none of aforementioned handles SIGTERM signal, shutting down of these two containers takes 10 seconds each (and webui container don't event shuts down apache and dbus gracefully).

Solution would be to catch SIGTERM signal and reroute it to child processes.


This ticket had assigned some Differential requests:
D625

I guess you just did not make a Diff of the bash-magic we performed on Friday. Just an info to @adamw, that this is (probably) solved now, just sitting on @jsedlak's computer

Yeah, I (still) hadn't added it, because as soon as I built that image, it started showing me the same error @pschindl is dealing with (I couldn't log in), so I went doing something different.

Login to comment on this ticket.

Metadata