Skip to content

Help Wanted: Correct syntax for podman run --entrypoint #12513

Answered by mheon
MagicTrevor asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried quoting the entrypoint - --entrypoint='["/part/one", "/part/two"]'

The entrypoint itself is interpreted as a JSON array first, and if that fails to decode, we treat it as a literal path on the filesystem; it seems here that the JSON decoding is failing, though that seems like valid JSON.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MagicTrevor
Comment options

@rhatdan
Comment options

@MagicTrevor
Comment options

Answer selected by MagicTrevor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants