Skip to content

Commit 3678539

Browse files
author
gpadres
committed
Fixing first commitment
1 parent 68478a5 commit 3678539

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,4 @@ RUN mkdir /data
3838
RUN mkdir /.jupyter && mkdir /.local && chmod 777 /.jupyter && chmod 777 /.local
3939

4040
#The command to run it all
41-
CMD cd /data
42-
#CMD /usr/local/bin/jupyter lab --port=$PORT --ip=0.0.0.0 --no-browser --allow-root --LabApp.token=''
41+
CMD cd /data && /usr/local/bin/jupyter lab --port=$PORT --ip=0.0.0.0 --no-browser --allow-root --LabApp.token=''

readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Light JupyterLab with Python3 example
22

3-
1. Build image `docker build --tag=jupyter_light_workshop . `
3+
1. Build image `docker build --tag=jupyter_light . `
44

5-
1. Run image `docker run -ti -p 8888:8888 -v "`pwd`":/data jupyter_light`. Note: you need to run the image in the directory you want JupyterLab to access.
5+
1. Run image ``docker run -ti -p 8888:8888 -v "`pwd`":/data jupyter_light``
66

7-
Alternatively you can pull the image:
7+
Note: you need to run the image in the directory you want JupyterLab to access.
88

9-
`docker run -ti -p 8888:8888 -v "`pwd`":/data gpadres/examples:jupyter_light`.
9+
Alternatively you can pull the image:
1010

11-
Running the image will open a terminal window in the container, where you will be acting as root.
11+
``docker run -ti -p 8888:8888 -v "`pwd`":/data gpadres/docker_python:jupyter_light``
1212

13-
1. Run JupyterLab within the container `/usr/local/bin/jupyter lab --port=8888 --ip=0.0.0.0 --no-browser --allow-root --LabApp.token=''`
13+
Running the image will start JupyterLab in the container.
1414

1515
1. From host computer, via a browser window access JupyterLab on address `localhost:8888`

0 commit comments

Comments
 (0)