Rootless --userns=keep-id doesn't work with --pod #6184
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
I am trying to run Elasticsearch as a rootless container inside a rootless pod. I encountered #2898 where the mount point of
/usr/share/elasticsearch/data
for the volume is mounted as root uid/gid. This lead me to #3196 to use--userns=keep-id
which works but not when you try to create the container inside a pod.Steps to reproduce the issue:
Describe the results you received:
Error: cannot setns
/proc/233708/ns/net
: Operation not permitted: OCI runtime permission denied errorDescribe the results you expected:
To be able to use --userns=keep-id on pods.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):The text was updated successfully, but these errors were encountered: