diff --git a/README.md b/README.md index 74a450d..4d92e4d 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The image of this repository is available on [Dockerhub](https://hub.docker.com/ environment will be downloaded: ```bash cd your-working-directory - docker run --gpus all -d -it -p 8848:8888 -v $pwd/data:/home/jovyan/work -e GRANT_SUDO=yes -e JUPYTER_ENABLE_LAB=yes --user root cschranz/gpu-jupyter:v1.2_cuda-10.1_ubuntu-18.04_python-only + docker run --gpus all -d -it -p 8848:8888 -v $(pwd)/data:/home/jovyan/work -e GRANT_SUDO=yes -e JUPYTER_ENABLE_LAB=yes --user root cschranz/gpu-jupyter:v1.2_cuda-10.1_ubuntu-18.04_python-only ``` This starts an instance with of *GPU-Jupyter* the tag `v1.2_cuda-10.1_ubuntu-18.04_python-only` at [http://localhost:8848](http://localhost:8848) (port `8484`). The default password is `asdf` which should be changed as described [below](#set-password). @@ -92,7 +92,7 @@ with the default password `asdf`. # generate a Dockerfile with python and without Julia and R ./generate-Dockerfile.sh --no-datascience-notebook docker build -t gpu-jupyter .build/ # will take a while - docker run --gpus all -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 + docker run --gpus all -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 ``` This starts a container WITH GPU support, a shared local data volume `data`