Docker Community Forums

Share and learn in the Docker community.

Dbus implementation in systemd

Hi, I have been trying to dockerize an application that runs on RaspberryPi and have been running into a couple of issues.

So the executable I am running requires the systemd library as the Dbus wrapper used is the sd-bus implementation.
It uses the system bus.

So currently when the service is run in privileged mode and as root (as I need to access the UART port), I get a permission denied error (Failed to acquire service name: Permission denied).

I am completely new to Docker and wanted to know how systemd can be enabled so that I can run this service successfully.

Thank you.