I have patches into docker to allow it to register with machinectl and
run systemd inside of the container without --privileges.  I also set it
up so that the /var/log/journald/UUID on the host is mounted inside of
the container, so that journald inside of the container writes to this
location on the host.

Then I use journalctl -M UUID on the host to look at the host journal. 
When I run the first container it works great.  I see the container, but
when I run the second container, I end up seeing the first countainers
journal again.  If I strace journalctl -M uuid it looks like it is
reading all of the journals under /var/log/journalctl rather then just
the one for UUID.

Am I doing something wrong when I set this up?  How is this supposed to
work?

Dan
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to