From ef4c304544f58db0b78d686a99a07320d3305cfd Mon Sep 17 00:00:00 2001 From: Troels Schwarz-Linnet Date: Wed, 29 Nov 2017 22:00:12 +0100 Subject: [PATCH] Adding info how to mount local directory into 'work' directory --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1061f46c..ee8b78fd 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,14 @@ If you're familiar with Docker, have it configured, and know exactly what you'd # -ti: pseudo-TTY+STDIN open. # -rm: remove the container on exit. # -p: publish port to the host - docker run -ti --rm -p 8888:8888 jupyter/: +# And mount current directory into 'work' directory in image +docker run -ti --rm -p 8888:8888 -v "$PWD":/home/jovyan/work jupyter/: + # Bagkground mode: # -d: detach, run container in background. # -P: Publish all exposed ports to random ports - docker run -d -P jupyter/: ```