From 87af3af4b1682d93300ae2608c18c6c90f0b1799 Mon Sep 17 00:00:00 2001 From: Adam Fekete <adam.fekete@kcl.ac.uk> Date: Tue, 29 Jun 2021 18:28:09 +0000 Subject: [PATCH] Update README.md --- README.md | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 3f2c6e8..06322f5 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,16 @@ The docker image is suitable for running/testing locally and for deploying it by mkdir workshop cd workshop wget https://gitlab.mpcdf.mpg.de/nomad-lab/workflows-workshop/-/raw/master/docker-compose.yml +docker-compose pull 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 ```bash @@ -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 - -- GitLab