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

Support OCI-SIF data-container in --bind & --mount #2873

Open
Tracked by #1729
dtrudg opened this issue May 3, 2024 · 0 comments · May be fixed by #2953
Open
Tracked by #1729

Support OCI-SIF data-container in --bind & --mount #2873

dtrudg opened this issue May 3, 2024 · 0 comments · May be fixed by #2953

Comments

@dtrudg
Copy link
Member

dtrudg commented May 3, 2024

The --bind and --mount syntax in --oci mode must allow binding from an OCI-SIF image that only contains data (#2872) onto a location in the container rootfs.

The bind should work similarly to binding from a bare extfs / squashfs image in OCI-mode.

@dtrudg dtrudg added this to the SingularityCE 4.2.0 milestone May 3, 2024
dtrudg added a commit to dtrudg/singularity that referenced this issue May 29, 2024
Allow OCI-SIF data container created with `singularity data package` to
be mounted using the `--bind` and `--mount` flags.

An `image-source=/` options is required on the bind to mount from the
root of the data container layer. A shortcut `--data` flag that does not
require this will be added in future.

Closes sylabs#2873
@dtrudg dtrudg linked a pull request May 29, 2024 that will close this issue
dtrudg added a commit to dtrudg/singularity that referenced this issue May 30, 2024
Allow OCI-SIF data container created with `singularity data package` to
be mounted using the `--bind` and `--mount` flags.

An `image-source=/` options is required on the bind to mount from the
root of the data container layer. A shortcut `--data` flag that does not
require this will be added in future.

Closes sylabs#2873
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant