Skip to content
Snippets Groups Projects
Commit 87af3af4 authored by Adam Fekete's avatar Adam Fekete
Browse files

Update README.md

parent de3bd4ba
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,16 @@ The docker image is suitable for running/testing locally and for deploying it by ...@@ -10,9 +10,16 @@ The docker image is suitable for running/testing locally and for deploying it by
mkdir workshop mkdir workshop
cd workshop cd workshop
wget https://gitlab.mpcdf.mpg.de/nomad-lab/workflows-workshop/-/raw/master/docker-compose.yml wget https://gitlab.mpcdf.mpg.de/nomad-lab/workflows-workshop/-/raw/master/docker-compose.yml
docker-compose pull
docker-compose up docker-compose up
``` ```
### Tearing down after the workshop:
```bash
docker-compose down
```
Finally the `workshop` folder can be deleted.
## Building/using your own docker image ## Building/using your own docker image
```bash ```bash
...@@ -87,28 +94,3 @@ docker-compose up ...@@ -87,28 +94,3 @@ docker-compose up
``` ```
## Continuous integration (for future usage)
Each commit triggers a build process on GitLab Runner. Besides the latest tag, there will be a unique tag (same that as the value of the git commit) available for explicitly tracking the version of the notebook for cluster deployment.
### Using the docker image from the registry
1. Install docker on your machine
2. Login to the image repository
```bash
docker login gitlab-registry.mpcdf.mpg.de
```
3. Pull the image:
```bash
docker pull gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:<tag>
```
4. Create a container:
```bash
docker run -p 8888:8888 \
-v $PWD/notebook/tutorials:/home/jovyan/tutorials \
gitlab-registry.mpcdf.mpg.de/nomad-lab/workflows-workshop:<tag>
```
Note: The latest tag can be found on the following page:
https://gitlab.mpcdf.mpg.de/nomad-lab/workflows-workshop/container_registry
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment