singularity icon indicating copy to clipboard operation
singularity copied to clipboard

Fakeroot support for nvccli

Open dtrudg opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. The hybrid fakeroot workflow creates / enters namespaces and performs container setup in an order that is not compatible with using the nvidia-container-cli binary for NVIDIA GPU setup.

Describe the solution you'd like Rework the engine to permit this. May include removing Singularity's own subuid/gid mapping setup, to depend on the standard newuidmap / newgidmap tooling employed by other rootless runtimes, and SingularityCE in no-setuid mode.

dtrudg avatar Jan 24 '22 23:01 dtrudg

Postponing this. Unfortunately it needs a significant rework to the flow of the fakeroot engine.

dtrudg avatar Apr 18 '22 15:04 dtrudg

Postponing this again. We're too late in the cycle to do much major effort on the native runtime here. It's likely that this will be easier to slot into the --oci runtime.

Note that Apptainer has acheived this... but it's related to changes in the behavior of --fakeroot that we are not following at this time. ( https://github.com/apptainer/apptainer/issues/593 )

@tri-adam - let me know if any disagreement on this.

dtrudg avatar Dec 09 '22 11:12 dtrudg

Closing this. We are moving forward with CDI support at this time in --oci mode, which is the future direction for the NVIDIA tooling.

dtrudg avatar Jul 17 '23 13:07 dtrudg