1

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.

Clownfused
  • 15
  • 1
  • 6

1 Answers1

0

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.

rhatdan
  • 392
  • 1
  • 1
  • The user redacted is running podman and has access to write to its own homedir. Is there any other reason this could be happening? – Clownfused Apr 29 '19 at 10:44
  • Turns out that for some reason root was the owner of the .config folder. I changed the owner to redacted and everything is working now. – Clownfused Apr 29 '19 at 11:05
  • @Clownfused, how did you the owner change? I do not understand system handling. – ruzenhack Oct 15 '21 at 02:03