Skip to content

Instantly share code, notes, and snippets.

@lsloan
Created May 14, 2021 20:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lsloan/e6ba9bdca5363f88ccf2738cdf586de9 to your computer and use it in GitHub Desktop.
Save lsloan/e6ba9bdca5363f88ccf2738cdf586de9 to your computer and use it in GitHub Desktop.
version: '3'
services:
jupyter:
container_name: my_jupyter
#image: jupyter/datascience-notebook
image: jupyter/minimal-notebook
ports:
- '127.0.0.1:8888:8888'
environment:
JUPYTER_ENABLE_LAB: 'yes'
volumes:
- .:/my_jupyter:delegated
@lsloan
Copy link
Author

lsloan commented May 20, 2021

@lsloan
Copy link
Author

lsloan commented May 22, 2021

This docker-compose.yaml file is based on Project Jupyter instructions that say JupyterLab can be run with Docker using a command like:

docker run -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes jupyter/minimal-notebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment