Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay: use idmapped lower layers where supported #1180

Merged
merged 1 commit into from Apr 12, 2022

Commits on Apr 8, 2022

  1. overlay: use idmapped lower layers where supported

    use idmapped mounts for the overlay lower layers when the kernel
    supports them.
    
    For each lower directory with ID=0...N-1, it creates a idmapped mount
    at $GRAPHROOT/overlay/$LAYER/mapped/$ID.  The final overlay mount will
    use these idmapped mounts instead of the original source directory.
    
    The upperdir is not idmapped, so files are created with the same
    IDs used by the user namespace.
    
    Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
    giuseppe committed Apr 8, 2022
    Copy the full SHA
    b9b8a59 View commit details
    Browse the repository at this point in the history