Starting a container
-
... enroot start --rw nvidia+pytorch+21.04-py3 bash
Start the container
nvidia+pytorch+21.04-py3
in read-write mode (--rw
) and runbash
inside the container. -
... enroot start --root --rw nvidia+pytorch+21.04-py3 bash
Start container in
--rw
-mode and get root access (--root
) inside the container.
You can now install software with root privileges, depending on the containerized Linux distribution e.g. withapt-get install …
,apk add …
,yum install …
,pacman -S …
-
... enroot start -m <HomeDir>:/work --rw nvidia+pytorch+21.04-py3 bash
Start container and mount (
-m
) a local directory to/work
inside the container. -
... enroot start -m <HomeDir>:/work --rw nvidia+pytorch+21.04-py3 jupyter lab
Start container, mount a directory and start the application
jupyter lab
.