-
Notifications
You must be signed in to change notification settings - Fork 4
systemctl not working in container - 'Failed to connect to bus: No such file or directory' #2
Comments
So this image—which seems almost identical to my current build—currently works out of the box: https://hub.docker.com/r/unop/fedora-systemd/ |
Looks like it might just be the
|
Simply |
Same issues using
|
@JimmyTournemaine - Please consider filing an issue against that repository—if there's something it can fix: https://github.com/geerlingguy/docker-centos8-ansible |
In fact, my goal here was more to leave a note that could be useful to others because I came across this issue while looking for the solution to this problem but with another image. |
With the current image and default init command, I get the following:
And when running an Ansible playbook which manages a service:
Looking into the issue, it seems
dbus-daemon
may not be running.But if I do the following:
It seems to start, but then I get:
The text was updated successfully, but these errors were encountered: