Can't start rootless container with --userns=keep-id
when graphroot is on a different drive: OCI permission denied
#24704
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Issue Description
Starting a rootless container with
--userns=keep-id
when graphroot is on a different drive fails. This happens when configured viastorage.conf
and when it is a symlink to a folder on a different drive.Steps to reproduce the issue
Steps to reproduce the issue
~/.config/containers
withgraphroot
set to a folder on a different drive:podman create --name=arch --userns=keep-id -it archlinux:latest /bin/bash
podman start arch
Describe the results you received
Got the following error:
Describe the results you expected
Expected the container to start successfully.
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
This is on a Steam Deck, but podman has been installed from Nix.
Additional information
Without
--userns=keep-id
I can start the container fine, but obviously I'm root in the container, which I don't necessarily want.If the graphroot is in my home directory,
--userns=keep-id
works without issue.I've seen a couple issues with the OCI permission denied issue but didn't see any resolution, so thought I'd open a new one.
The text was updated successfully, but these errors were encountered: