NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
644 stars 94 forks source link

Enroot does not include packages installed in a conda environment from github when importing from docker #209

Open laurajsantos opened 1 month ago

laurajsantos commented 1 month ago

I created an image which contains a conda environment where I installed some packages from github.

When I run the image with docker everything is ok, the packages are all there. Image

After doing enroot import and trying to run the squash file with srun the packages are no longer there, thus I can't run my program. Image

Searched a lot online but did not find anything similar...

Any ideas how to solve this? Please all help is welcome.

flx42 commented 1 month ago

Maybe try with ENROOT_REMAP_ROOT=n with enroot, or --no-container-mount-home with pyxis. Sometimes it's because those packages are installed in /root and they get masked by mounting your HOME directory.

flx42 commented 1 month ago

Sorry, I meant ENROOT_MOUNT_HOME=n instead.