Skip to content

Instantly share code, notes, and snippets.

@akiyoshi83
Last active May 20, 2020 19:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akiyoshi83/baedb0073cd9add2cb85d8497f39cad9 to your computer and use it in GitHub Desktop.
Save akiyoshi83/baedb0073cd9add2cb85d8497f39cad9 to your computer and use it in GitHub Desktop.
Run jupyter lab by docker-compose
# Start container:
# docker-compose up -d
#
# Open http://localhost:8888/ in browser and run the samples
#
# Stop the container:
# docker-compose stop
#
# Stop and remove container, network, etc.:
# docker-compose down
#
version: '2'
services:
jupyter:
image: jupyter/tensorflow-notebook
container_name: jupyter
#user: root
environment:
JUPYTER_ENABLE_LAB: 1
#GRANT_SUDO: 'yes'
volumes:
- .:/home/jovyan/work
ports:
- "8888:8888"
entrypoint:
- start-notebook.sh
- --NotebookApp.token=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment