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 0to disable SELinux temporarily, which did not change the error received.Added the
--userns=keep-idflag 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
:zflag 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.
fedora-coreos-stable(or-next), starting a container that publishes a service on port 2040, and then running yourcurlimages/curlexample works without any errors.