From 9c85de00a7ca4610a56152e062e7da8a53ab2c44 Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Thu, 15 Dec 2022 15:51:41 +0000 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1a47a68..0e0956f 100644 --- a/README.md +++ b/README.md @@ -125,11 +125,11 @@ Please note that you need to use the flag ```-X``` to set up the X11 forwarding ## Cheat sheet -| Task | Command | -|:--------------------------------------------:|:-------------------------------------------------------------------------------------------------------------------------------:| -| Import a new container | enroot import 'docker://nvcr.io#nvidia/pytorch:22.09-py3' enroot import 'docker://pytorch/pytorch:1.12.1-cuda11.3-cudnn8-devel' | -| 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' | +| Task | Command | +|:--------------------------------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:| +| Import a new container | enroot import 'docker://nvcr.io#nvidia/pytorch:22.09-py3' enroot import 'docker://pytorch/pytorch:1.12.1-cuda11.3-cudnn8-devel' | +| 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' | -- GitLab