-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: mount OCI-SIF overlays and support --writable
When an OCI-SIF contains an ext3 overlay layer, created with `singularity overlay create`, it is now mounted when the container is run. By default, an embedded overlay is mounted read-only. In OCI-Mode we have a `--writable-tmpfs` in place by default, so changes can still be made to the container at runtime, but they are made in the ephemeral tmpfs, and do not write into the overlay. To write changes into the embedded overlay, the container must be started with the `--writable` flag, which is now supported in OCI-Mode. Embedded overlay layers are handled by extending the code that previously dealt with user specified `--overlay`s. Note that fuse2fs >=1.46.6 is required to use an embedded overlay, as older versions do not support the `-o` (offset) flag. Closes #2868 Closes #2869
- Loading branch information
Showing
10 changed files
with
213 additions
and
50 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
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.