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-chroot
command - To leave mounts out of the overlay, use
recurse=0
(e.g.,overlayroot="tmpfs:recurse=0"
) in/etc/overlayroot.conf
- Edit
/etc/containers/storage.conf
and use alternative path values forrunroot
andgraphroot
under the[storage]
section