Skip to content

NewRelic with inboard #101

Answered by br3ndonland
flpStrri asked this question in Q&A
Discussion options

You must be logged in to vote

The inboard Dockerfile uses both ENTRYPOINT and CMD. When ENTRYPOINT and CMD are used together, typically executable programs are specified in ENTRYPOINT and program options are specified in CMD. If you override the ENTRYPOINT from a base image (like inboard), you also need to override the CMD.

Based on the NewRelic docs, it looks like you could override the ENTRYPOINT within your Dockerfile like this:

ENTRYPOINT ["newrelic-admin", "run-program", "python"]
CMD ["-m", "inboard.start"]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by br3ndonland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants