containersbuildah

Permission issue with Podman


I have installed Podman on Ubuntu 18.04 and it seemed to install without issue but...

When I type podman--version I get:

podman version 1.3.0-dev

But if I then type podman ps I get:

Error: could not get runtime: cannot make directory /home/redacted/.config/containers: mkdir /home/redacted/.config/containers: permission denied

I'm not sure why this is happening.


Solution

  • Podman when running rootless attempts to create content in the home directory. In this case it looks like the homedir is /home/redacted.

    The user running podman is not allowed to write to the homedir /home/redacted.