ibuildthecloud/systemd-docker

Logging lost after docker restart

Opened this issue · 0 comments

SystemD seems to lose the handles to the container's stdout and stderr after restarting it with docker restart. I see this:

Feb 04 19:12:23 iris systemd-docker[12192]: [04-Feb-2017 19:12:23] NOTICE: Terminating ...
Feb 04 19:12:23 iris systemd-docker[12192]: [04-Feb-2017 19:12:23] NOTICE: exiting, bye-bye!

And then nothing else, even though the container is (still) running, with the same container ID. Is there any way to reattach the journal after a restart?