Skip to content
Snippets Groups Projects
Commit 8d92957d authored by Xuan Gu's avatar Xuan Gu
Browse files

Update README.md

parent 58ba0685
No related branches found
No related tags found
No related merge requests found
...@@ -127,9 +127,9 @@ Please note that you need to use the flag ```-X``` to set up the X11 forwarding ...@@ -127,9 +127,9 @@ Please note that you need to use the flag ```-X``` to set up the X11 forwarding
|Task |Command | |Task |Command |
|:------------------------|:----------------------| |:------------------------|:----------------------|
|Import a new container |enroot import 'docker://nvcr.io#nvidia/pytorch:22.09-py3' | |Import a new container |```enroot import 'docker://nvcr.io#nvidia/pytorch:22.09-py3'``` |
|Create an instance of a container |enroot create --name pytorch nvidia+pytorch+22.09-py3.sqsh | |Create an instance of a container |```enroot create --name pytorch nvidia+pytorch+22.09-py3.sqsh``` |
|Destroy an instance |enroot remove pytorch | |Destroy an instance |```enroot remove pytorch``` |
|Run an enroot image |enroot start --rw --mount /local_path:/path_on_enroot pytorch | |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 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' | |Run an enroot image and execute your command |```enroot start --rw --mount /local_path:/path_on_enroot pytorch sh -c 'python my_script.py'```|
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment