Skip to content

Instantly share code, notes, and snippets.

@tiantuxu
Created January 2, 2019 19:01
Show Gist options
  • Save tiantuxu/e6d89e531aeef19b7744048bd7a07137 to your computer and use it in GitHub Desktop.
Save tiantuxu/e6d89e531aeef19b7744048bd7a07137 to your computer and use it in GitHub Desktop.
Create a jupyter notebook in a remote docker
#Host machine:
docker run -it -p 8888:8888 image:version
#Inside the Container
jupyter notebook --ip 0.0.0.0 --no-browser --allow-root
#Host machine access this url:
http://(ce3fff13df99 or 127.0.0.1):8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment