-
Build image
docker build --tag=jupyter_light_workshop .
-
Run image
docker run -ti -p 8888:8888 -v "`pwd`":/data jupyter_light_workshop
.Note: you need to run the image in the directory you want JupyterLab to access.
Running the image will open a terminal window in the container, where you will be acting as root.
-
Access
/data
directorycd data
. This directory has mounted the wanted directory from the host. -
Run JupyterLab within the container
/usr/local/bin/jupyter lab --port=8888 --ip=0.0.0.0 --no-browser --allow-root --LabApp.token=''
-
From host computer, via a browser window access JupyterLab on address
localhost:8888
. There you can test the kernel, for example, by runningtest.ipynb
-
You can also access the container on a different terminal with
docker exec -it <CONTAINER_ID> bash
and see processes runningdocker ps -A
to identify the different processes.
-
Notifications
You must be signed in to change notification settings - Fork 0
gpadres/docker_python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published