From 86e03177802e62ef9b051170b8dca21640228848 Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Thu, 15 Dec 2022 15:56:28 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f3c4580..9b651a7 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,8 @@ Please note that you need to use the flag ```-X``` to set up the X11 forwarding | Task | Command | |:--------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:| | Import a new container | enroot import 'docker://nvcr.io#nvidia/pytorch:22.09-py3' | -| Create an instance of a container | enroot create --name nvidia_pytorch_22.09 nvidia+pytorch+22.09-py3.sqsh | -| Destroy an instance | enroot remove nvidia_pytorch_22.09 | -| Run an enroot image | enroot start --rw --mount /your/local/path:/path/mounted/on/enroot nvidia_pytorch_22.09 | -| Run an enroot image as root | enroot start --root --rw --mount /your/local/path:/path/mounted/on/enroot nvidia_pytorch_22.09 | -| Run an enroot image and execute your command | enroot start --rw --mount /your/local/path:/path/mounted/on/enroot nvidia_pytorch_22.09 sh -c 'python my_script.py' | +| Create an instance of a container | enroot create --name pytorch nvidia+pytorch+22.09-py3.sqsh | +| Destroy an instance | enroot remove pytorch.09 | +| Run an enroot image | enroot start --rw --mount /local_path:/path_on_enroot pytorch | +| Run an enroot image as root | enroot start --root --rw --mount /local_path:/path_on_enroot pytorch | +| Run an enroot image and execute your command | enroot start --rw --mount /local_path:/path_on_enroot pytorch sh -c 'python my_script.py' | -- GitLab