The Zerofox Syndicate
Installing podman on manjaro is relatively easy.
pamac install podman
That’s it. You can now start using it, right? Not really. When you try to pull an image and you’ll get the following errors.
[user@hostname ~]$ podman pull docker.io/microsoft/powershell
ERRO[0000] cannot find mappings for user user: open /etc/subuid: no such file or directory
ERRO[0000] cannot find mappings for user user: open /etc/subuid: no such file or directory
The solution is to create two files /etc/subuid
and /etc/subgid
.
[hostname]# cat /etc/subgid
user:100000:65536
[hostname]# cat /etc/subuid
user:100000:65536
This might not be enough and you might need to execute the following command as well.
podman system migrate
Now we can start running our podman containers.
The reason for this is explained more deeply in this Redhat blogpost.
Tags: linux containers