Docker Community Forums

Share and learn in the Docker community.

Systemd notifications from inside container?


(Gary Wisniewski) #1

Has anybody found a clean, portable way to send systemd notifications from within a container?

Specifically, I am interested in being sure that the container is not just running, but that the software inside the container has had a chance to do initialization and any other tasks before telling systemd that it is OK to proceed with dependencies.

There were discussions I found online (such as this CoreOS discussion), which are basically hacks that involve running a proxy on the host. I’m looking for something that doesn’t require the container host be modified in any way.

Any ideas?