Skip to content

how to override container **Entrypoint** and **Cmd** #572

Answered by HofmeisterAn
vermapraveen asked this question in Q&A
Discussion options

You must be logged in to vote

That's not equivalent. You use -c './integrationFolder/EventIntegration' as docker run argument (even if I don't understand how that results in the shown docker inspect result). Try:

.WithEntrypoint("/bin/sh", "-c")
.WithCommand("./integrationFolder/EventIntegration")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vermapraveen
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