Replies: 1 comment
-
I've not tried with more recent versions of Linux, but I don't recall seeing any improvement in overlayfs towards ID-mapped mounts in recent kernel commits. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As of Linux 5.13, overlayfs mounts don't work on top of ID-mapped ext4 volumes.
For example, if I create a Sysbox container and mount an ext4 volume into it, Sysbox will ID-map the volume into the container (so that it shows up with proper permissions inside the rootless Sysbox container):
Then if we want to mount overlayfs on that ID-mapped volume, we get an error:
For this same reason, when running Docker inside a Sysbox container, avoid modifying the "data-root" config inside the container at runtime (i.e., after the container is launched), as doing so may cause Docker to stop using it's preferred overlayfs storage driver and revert to the slower vfs storage driver.
Beta Was this translation helpful? Give feedback.
All reactions