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
Copy file name to clipboardExpand all lines: docs/installation.rst
+63-19Lines changed: 63 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,16 +66,35 @@ what is included in the latest Docker images.
66
66
Singularity Container
67
67
=====================
68
68
69
-
For security reasons, many HPCs (e.g., TACC) do not allow Docker containers, but do allow `Singularity <https://github.com/singularityware/singularity>`_ containers.
69
+
For security reasons, many HPCs (e.g., TACC) do not allow Docker containers, but do
In this case, start with a machine (e.g., your personal computer) with Docker installed.
71
-
Use `docker2singularity <https://github.com/singularityware/docker2singularity>`_ to create a singularity image. You will need an active internet connection and some time. ::
86
+
Use `docker2singularity <https://github.com/singularityware/docker2singularity>`_ to
87
+
create a singularity image.
88
+
You will need an active internet connection and some time. ::
Singularity by default `exposes all environment variables from the host inside the container <https://github.com/singularityware/singularity/issues/445>`_.
112
-
Because of this your host libraries (such as nipype) could be accidentally used instead of the ones inside the container - if they are included in PYTHONPATH.
113
-
To avoid such situation we recommend unsetting PYTHONPATH in production use. For example: ::
139
+
or, unset the ``PYTHONPATH`` variable before running: ::
114
140
115
-
$ PYTHONPATH="" singularity run ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.img \
141
+
$ unset PYTHONPATH; singularity run ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.img \
0 commit comments