allowing root permissions
This commit is contained in:
parent
de9058030a
commit
30f8177e97
@ -74,7 +74,7 @@ password `asdf`.
|
|||||||
|
|
||||||
To run the container with GPU support, a local data volume and , run:
|
To run the container with GPU support, a local data volume and , run:
|
||||||
```bash
|
```bash
|
||||||
docker run -d -it --rm --gpus all -p [JUPYTER_PORT]:8888 -v $(pwd)/data:/home/jovyan/work -e GRANT_SUDO="yes" -e JUPYTER_ENABLE_LAB="yes" gpu-jupyter
|
docker run -d -it -p 8848:8888 -v $(pwd)/data:/home/jovyan/work -e GRANT_SUDO=yes -e JUPYTER_ENABLE_LAB=yes --user root --restart always --name gpu-jupyter_1 gpu-jupyter
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user