Skip to content

Running systemctl in container fails with "Failed to get D-Bus connection" #2296

Closed
@daviddavis

Description

@daviddavis

I searched Issues and while I found other bugs that seemed similar, I couldn't tell if they were exactly the same as this so I apologize if this is a repeat.

After following the steps on this blog to setup docker on Fedora, when you run systemctl you get an error about failing to connect to dbus.

bash-4.2# systemctl list-units
Failed to get D-Bus connection: No connection to service manager.

Docker version: docker-io-0.6.3-3.devicemapper.fc19.x86_64
OS: Fedora 19 (Schrödinger’s Cat)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions