Last active
May 20, 2020 19:09
-
-
Save akiyoshi83/baedb0073cd9add2cb85d8497f39cad9 to your computer and use it in GitHub Desktop.
Run jupyter lab by docker-compose
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
# 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