-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ociruntime: handle images with high layer count (#7630)
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, the mount options string cannot exceed 4095 characters. Add special logic to break down images with many mounts into smaller groups. 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.
- Loading branch information
Showing
5 changed files
with
250 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.