Docker Community Forums

Share and learn in the Docker community.

Issues while starting a service within docker container


(Bharathmeka) #1

Hi,

I’m on CentOS Linux release 7.2.1511 (Core) and trying to run a service within a container. But the service fails with the following error

Redirecting to /bin/systemctl start rsyslog.service
Failed to get D-Bus connection: Operation not permitted

I see a workaround posted here and applied it while running the docker (using –privileged) . Now the D-Bus connection error is gone but the service is still not running and I see following error in the log

Failed to open syslog: Unix syslog delivery error

Note that the service runs fine on the host VM.

Am I missing something here?

Regards,
Bharath