on another note I found out this super cool podman usage: ```bash sudo podman run \ --privileged

on another note I found out this super cool podman usage:

sudo podman run \
  --privileged \
  --rm -it \
  --security-opt label=disable \
  -v /sys/fs/selinux:/sys/fs/selinux \
  -v /etc/selinux/config:/etc/selinux/config:ro \
  --userns=host \
  -v "$HOME:$HOME" \
  --rootfs /:O \
  /bin/bash


the --rootfs /:O mounts the rootfs from your current system into a temporary overlay(rw) then puts you inside that
Was this page helpful?