One interesting thing with
podman is the ability to run as non root. But in fact I can’t do a lot of things as simple user and most of the time shall
su to achieve my goals.
How can I deal with this?
Note: SELinux is enforced
Example of classic issue:
% id uid=1004(gabx) gid=1004(gabx) groups=1004(gabx),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 % podman images Error: could not get runtime: error creating tmpdir /run/user/1001/libpod/tmp: mkdir /run/user/1001: permission denied % sudo podman images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/linuxserver/mariadb latest ab6a31f8a171 2 days ago 348 MB docker.io/library/redis latest 01a52b3b5cd1 12 days ago 102 MB docker.io/linuxserver/letsencrypt latest 474abe498014 7 weeks ago 272 MB docker.io/certbot/certbot latest d2bbcca3f60e 2 months ago 117 MB
I couldn’t find on internet anything else than running podman as root, which is of course not a real issue but doesn’t take advantage of the non-root features.
Thank you for advises.