Description
over here:
https://github.com/docker-library/docs/tree/master/centos#dockerfile-for-systemd-base-image
describes how to build an image which runs systemd as PID1.
However, while a container built that way will launch, /run/
will be missing the sockets for dbus, and
systemctl enable bla
Failed to get D-Bus connection: No such file or directory
hence one can't talk to systemd, and not make it launch services etc.
This used to be working until some when last week. This similar Ubuntu container still works: https://github.com/arangodb/release-test-automation/blob/main/containers/docker_deb/Dockerfile
I've tried https://fedoraproject.org/wiki/How_to_debug_Systemd_problems
and https://freedesktop.org/wiki/Software/systemd/Debugging/ but I can't get the systemd output - should one be able to see it with docker logs
if --log_target=console
or --systemd.log_target=console
?