Skip to content
Snippets Groups Projects
Commit 9133b7c3 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

improve instructions for local docker test

parent bbcd03e5
Branches
No related tags found
No related merge requests found
Pipeline #385126 passed
......@@ -17,10 +17,21 @@ TBD
### Docker
For advanced users only: If you happen to have Docker installed, you can start a local dockerized JupyterLab with
If you happen to have Docker installed, you can start a local dockerized JupyterLab for testing your profile:
```bash
docker run --name='jupyter-example-profile' --rm -it -p 8888:8888 registry.git-ce.rwth-aachen.de/jupyter/profiles/example:master
# Navigate to your local clone of this repo
cd path/to/example-profile
# Login to the RWTH GitLab Docker registry
# (required for pulling the base image)
docker login registry.git.rwth-aachen.de
# Build the Docker image
docker build --tag jupyter-example-profile .
# Run the Docker image
docker run --name='jupyter-example-profile' --rm --interactive --tty --publish 8888:8888 --volume ${HOME}:/home/jovyan jupyter-example-profile
```
Copy and paste the displayed link to your favorite browser.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment