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
* For installation with pip it is advisable to setup a Python3 virtual
118
-
environment
117
+
* For installation with pip it is advisable to setup a Python3 virtual environment.
119
118
120
119
```bash
121
120
python3 -m venv udockervenv
@@ -127,9 +126,10 @@ pip install udocker
127
126
128
127
## Installation: PyPI - II
129
128
130
-
The udocker command will be `udockervenv/bin/udocker`.
129
+
The `udocker` command will be `udockervenv/bin/udocker`.
131
130
132
-
* Optionally, we can set `UDOCKER_DIR` environment variable where the binaries, libraries images and containers will be saved. The default directory is `$HOME/.udocker`.
131
+
* Optionally, we can set `UDOCKER_DIR` environment variable where the binaries, libraries images
132
+
and containers will be saved. The default directory is `$HOME/.udocker`.
List extracted containers. These are not processes but containers extracted and available for
224
-
execution:
220
+
List extracted containers. These are not processes, but containers extracted and available for execution:
225
221
226
222
```bash
227
223
udocker ps
@@ -231,7 +227,8 @@ udocker ps
231
227
232
228
## 5. run: I
233
229
234
-
Executes a container. Several execution engines are provided. The container can be specified using the container id or its associated name. Additionally it is possible to invoke run with an image name:
230
+
Executes a container. Several execution engines are provided. The container can be specified using
231
+
the container id or its associated name. Additionally, it is possible to invoke run with an image name:
235
232
236
233
```bash
237
234
udocker run mytensor bash
@@ -261,7 +258,8 @@ udocker run mytensor cat /etc/lsb-release
261
258
262
259
## 6. setup
263
260
264
-
With `--execmode` chooses an execution mode to define how a given container will be executed. The option `--nvidia` enables access to NVIDIA GPUs (only possible if they are available).
261
+
With `--execmode` choose an execution mode to define how a given container will be executed.
262
+
The option `--nvidia` enables access to NVIDIA GPUs (only possible if they are available on the host machine).
0 commit comments