Commit ef4c3045 authored by Troels Schwarz-Linnet's avatar Troels Schwarz-Linnet Committed by Peter Parente

Adding info how to mount local directory into 'work' directory

parent 8a527c97
...@@ -14,13 +14,14 @@ If you're familiar with Docker, have it configured, and know exactly what you'd ...@@ -14,13 +14,14 @@ If you're familiar with Docker, have it configured, and know exactly what you'd
# -ti: pseudo-TTY+STDIN open. # -ti: pseudo-TTY+STDIN open.
# -rm: remove the container on exit. # -rm: remove the container on exit.
# -p: publish port to the host # -p: publish port to the host
docker run -ti --rm -p 8888:8888 jupyter/<your desired stack>:<git-sha-tag> docker run -ti --rm -p 8888:8888 jupyter/<your desired stack>:<git-sha-tag>
# And mount current directory into 'work' directory in image
docker run -ti --rm -p 8888:8888 -v "$PWD":/home/jovyan/work jupyter/<your desired stack>:<git-sha-tag>
# Bagkground mode: # Bagkground mode:
# -d: detach, run container in background. # -d: detach, run container in background.
# -P: Publish all exposed ports to random ports # -P: Publish all exposed ports to random ports
docker run -d -P jupyter/<your desired stack>:<git-sha-tag> docker run -d -P jupyter/<your desired stack>:<git-sha-tag>
``` ```
......
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