Brief How-to Podman / Distrobox installation / configuration

Hello,

  • OpenMandriva Lx version:
    rome

  • Desktop environment (KDE, LXQT…):
    KDE6

  • Description of the issue (screenshots if relevant):
    Install podman and distrobox plus configuration

  • Relevant informations (hardware involved, software version, logs or output…):

I am no expert at all but this worked for me
First install podman
If you install distrobox first it installs docker as dependency but will notif podman is already installed.

sudo dnf install podman crun

Installing distrobox separately just because I do not want distrobox dependency to pull docker

sudo dnf install distrobox

sudo touch /etc/subuid

sudo touch /etc/subgid

sudo usermod --add-subuids 200000-265536 --add-subgids 200000-265536 $USER

check if there are >1000 user namespaces

sysctl --all --pattern user_namespaces

if not, or I suppose just to be safe

sudo nano /etc/sysctl.d/userns.conf

in this file add

user.max_user_namespaces=28633

podman system migrate

now distrobox, and podman, should work on Openmandriva
I should link the youtube video I mostly followed.

@corbyr Thank you.