RUN systemctl start newrelic-infra (while building docker file) on cent os 7
We obtain the following error message:
Step 28/28 : RUN systemctl start newrelic-infra
—> Running in f9a82da02f00
Failed to get D-Bus connection: Operation not permitted
The command ‘/bin/sh -c systemctl start newrelic-infra’ returned a non-zero code: 1
Even after including these steps in docker file,
I am getting the same error. How do we resolve it