NewRelic with inboard #101
-
What would be the best way to inject the NewRelic admin to the Docker entry point? I thought about changing the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The inboard Dockerfile uses both Based on the NewRelic docs, it looks like you could override the ENTRYPOINT ["newrelic-admin", "run-program", "python"]
CMD ["-m", "inboard.start"] |
Beta Was this translation helpful? Give feedback.
The inboard Dockerfile uses both
ENTRYPOINT
andCMD
. WhenENTRYPOINT
andCMD
are used together, typically executable programs are specified inENTRYPOINT
and program options are specified inCMD
. If you override theENTRYPOINT
from a base image (like inboard), you also need to override theCMD
.Based on the NewRelic docs, it looks like you could override the
ENTRYPOINT
within your Dockerfile like this: