Created
November 15, 2018 01:49
-
-
Save haochunchang/dc1076c8f5b171911e3883cef78fe4ce to your computer and use it in GitHub Desktop.
Connect to jupyterlab in docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run -v [host dir:container dir] -it -p [port:docker_port] --name="container name" IMAGE COMMAND | |
docker run -v ~/Desktop/:/home/ -it -p 8888:8888 --name="test" jr55662003/jupyterlab-dev:latest jupyter lab --allow-root --ip=0.0.0.0 | |
# Access jupyter lab through local docker | |
# 1. run ``juptyer lab --allow-root --ip=0.0.0.0`` in docker | |
# 2. go to browser and enter localhost:[port] | |
# 3. login with tokens |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment