No /etc/subuid or /etc/subgid files

I want to run rootless podman but, on the podman docs it says it needs the /etc/sub{uid, gid} files. But I can’t find a package that provides these files. Any help will be appreciated.

Try this:

https://wiki.archlinux.org/title/Podman#Rootless_Podman

Nope, that didn’t work. podman pull resulted in this:

d19f32bd9e41: Download complete
writing blob: adding layer with blob "sha256:d19f32bd9e4106d487f1a703fc2f09c8edadd92db4405d477978e8e466ab290d": Error processing tar file(exit status 1): potentially insufficient UIDs or GIDs available in user namespace (requested 0:42 for /etc/gshadow): Check /etc/subuid and /etc/subgid if configured locally and run podman-system-migrate: lchown /etc/gshadow: invalid argument

Did you also do the migrate step in the Wiki?

$ podman system migrate

Okay, thanks that worked.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.