Hi everyone, I just wanted to check if there are any updates on this.
If not, is this right? To send systemd ready notifications from containers currently, I have to:
1. Build a static binary of socat and copy it to the CoreOS machine
2. Create a regular Unix domain socket
3. Use socat to forward from the Unix domain socket to systemd's abstract namespace socket
4. Bind-mount the Unix domain socket into the container
5. Inside the container, do "NOTIFY_SOCKET=$unix-socket-path-in-container systemd-notify --ready" when ready
Assuming that's right, my 2c is that if you of CoreOS could bundle socat and install a script that does 2-3, so my job becomes pretty easy:
unixSocketPath=`coreos-make-regular-notify-socket`
docker run ... -v $unixSocketPath:/var/run/notify.sock ...
NOTIFY_SOCKET=$unix-socket-path-in-container systemd-notify --ready
A generic notification system in Docker would be cool because it would make containers more portable across init systems, but I'd rather not wait for it.