The main idea: Configure Podman to use alternative paths outside the overlay filesystem
Steps:
- If already in overlay mode, break outside of it using the
overlayroot-chrootcommand - To leave mounts out of the overlay, use
recurse=0(e.g.,overlayroot="tmpfs:recurse=0") in/etc/overlayroot.conf - Edit
/etc/containers/storage.confand use alternative path values forrunrootandgraphrootunder the[storage]section