Unable to execute curl commands inside openpolicyagent/opa:0.64.1-istio #614
bvamshidhar
started this conversation in
Community
Replies: 1 comment
-
You can see the base images here. They do not come with a shell. You could use something like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@ashutosh-narkar
This is the error I get when I try to run curl inside the opa sidecar container:
"command": [
"curl",
"--output-dir",
"/test-dir",
"-s",
"-O",
"https://example.url.com"
],
Reason: StartError
Message: failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "curl": executable file not found in $PATH: unknown
Can you help with identifying the base image of this sidecar container?
How can install curl onto this. Can you give the snippet if possible.
P.S: I'm using openpolicyagent/opa:0.64.1-istio image
Beta Was this translation helpful? Give feedback.
All reactions