Commit 4ee1919a authored by Adam Fekete's avatar Adam Fekete
Browse files

Update README.md

parent dcb36b28
......@@ -23,7 +23,7 @@ cd workflows-workshop
### Building the docker image locally
```bash
docker build -t workflows-workshop:latest .
docker build -t gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest .
```
### Testing/Developing the notebooks locally
......@@ -33,7 +33,7 @@ docker build -t workflows-workshop:latest .
-p 8888:8888 \
-v $PWD/tutorials:/home/jovyan/tutorials \
--name workflows-workshop \
workflows-workshop:latest
gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest
```
Note: Although the `--rm` option is useful, you have to use it very carefully. When you stop the notebook server, you can lose all of your modifications which hasn't been stored into the mounted folder.
......@@ -53,7 +53,7 @@ More info: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.h
-p 8888:8888 \
-v /path/for/the/tutorials:/home/jovyan/tutorials \
--name workflows-workshop \
workflows-workshop:latest
gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest
```
- you may need to change the user id in the container - by adding `--user root` and `-e NB_UID=1001` options to your command - to have access for the mounted folders:
```bash
......@@ -63,7 +63,7 @@ More info: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.h
-p 8888:8888 \
-v $PWD/tutorials:/home/jovyan/tutorials \
--name workflows-workshop \
workflows-workshop:latest
gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest
```
- you can have a password-less sudo access in the container for debugging by adding `--user root` and `-e GRANT_SUDO=yes` options to your command:
```bash
......@@ -73,7 +73,7 @@ More info: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.h
-p 8888:8888 \
-v $PWD/tutorials:/home/jovyan/tutorials \
--name workflows-workshop \
workflows-workshop:latest
gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest
```
More information about the command line options: https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#notebook-options
......@@ -81,7 +81,7 @@ More information about the command line options: https://jupyter-docker-stacks.r
## Running the notebook with mongodb server
If the `workflows-workshop:latest` image is available you can run the following command to start the tutorial:
If the `gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:latest` image is available you can run the following command to start the tutorial:
```bash
docker-compose up
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment