Sample Header Ad - 728x90

Permission denied on simple podman curl container oneliner (CoreOS system)

0 votes
1 answer
221 views
On a relatively fresh and simple CoreOS system, trying to run the following command: podman run --rm docker.io/curlimages/curl -v host.containers.internal:2040 Results in the following error: {"msg":"exec container process /entrypoint.sh: Permission denied","level":"error","time":"2024-11-22T22:12:56.046889Z"} To which I am at a complete loss. I've tried the following: - sudo setenforce 0 to disable SELinux temporarily, which did not change the error received. - Added the --userns=keep-id flag to the command, which also didn't change the results. EG: podman run --userns=keep-id --rm docker.io/curlimages/curl -v host.containers.internal:2040 - For other more complex podman containers, I tried setting the :z flag for volume mounts to no avail. There must be something I'm doing wrong on my system. The only abnormal part of my system is that I have podman and docker both installed on the same machine for compatibility reasons but my understanding is that this shouldn't be a conflict.
Asked by TheYokai (143 rep)
Nov 22, 2024, 10:21 PM
Last activity: Nov 23, 2024, 07:14 AM