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

ociruntime: handle images with high layer count #7630

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2024

  1. ociruntime: handle images with high layer count

    When the action required an image with more than 20 layers, our mount
    will fail with
    
    ```
    create OCI bundle: create rootfs: mount overlayfs: no such file or directory
    ```
    
    After some digging, it seems like 20 is the current limit of the number
    of lowerdir allowed in each mount call.
    
    Add special logic to break down images with more than 20 layers into
    groups of 20. For each group, create an overlayfs mount called
    "merged<group-id>" in the same bundle dir. The final overlayfs will then
    be composed of these "merged" groups as lowerdirs.
    sluongng committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9289657 View commit details
    Browse the repository at this point in the history