You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also start Jupyter Docker Stacks containers using **Singularity** instead of Docker. For example:
527
+
528
+
```bash
529
+
singularity run --bind "${PWD}:/home/${USER}/work" --containall docker://quay.io/jupyter/datascience-notebook:2025-03-14
530
+
```
531
+
532
+
-`--bind "${PWD}:/home/${USER}/work"` mounts your current working directory into the container at `/home/$USER/work`.
533
+
When running the image with Singularity, the container uses your host username inside the container.
534
+
Therefore, the bind target is `/home/${USER}/work` instead of the usual `/home/jovyan/work`.
535
+
536
+
-`--containall` starts the container in a fully isolated environment, ignoring most of the host’s filesystem and environment except for explicitly bound paths.
537
+
By default, Singularity would bind your home directory automatically.
538
+
If you have Python packages installed there, this may cause conflicts with packages inside the container.
0 commit comments