I've been doing stuff with Docker for a while and I have run in to issues here and there, but never the PID reaping problem. In fact, I actually strive now to make the application PID 1 and only run 1 process. This is specifically so that the container will exit and the host or other scheduling logic can deal with the event.