Skip to content

Instantly share code, notes, and snippets.

@ronaldsuwandi
Created December 22, 2020 05:17
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save ronaldsuwandi/8c4362d223d16d68d7369df2ffd5f185 to your computer and use it in GitHub Desktop.
Save ronaldsuwandi/8c4362d223d16d68d7369df2ffd5f185 to your computer and use it in GitHub Desktop.
Docker Compose for Jupyter Lab/Notebook (no token/password)
version: "3.9"
services:
jupyter:
image: jupyter/scipy-notebook
ports:
- "8888:8888"
volumes:
- ./notebooks:/home/jovyan/
environment:
JUPYTER_ENABLE_LAB: "yes"
command: "start-notebook.sh --NotebookApp.token='' --NotebookApp.password=''"
@daweimau
Copy link

daweimau commented Jan 5, 2022

Thanks, this was annoying

@jermwatt
Copy link

jermwatt commented Mar 3, 2023

very helpful! thanks!

@sanchesfranklin
Copy link

thanks, but don't work for me...

@ronaldsuwandi
Copy link
Author

@sanchesfranklin what do you mean by doesn't work? did you do docker compose start command?

jupyter

@muhamad-ridwant-tech
Copy link

Then.. how to use custom password ?

@muhamad-ridwant-tech
Copy link

version: "3.9"

services:
jupyter:
image: jupyter/scipy-notebook
ports:
- "8888:8888"
# volumes:
# - ./notebooks:/home/jovyan/
environment:
JUPYTER_ENABLE_LAB: "yes"
command: "start-notebook.sh --NotebookApp.token='Ridwan_Ganteng"

@dunithd
Copy link

dunithd commented Feb 26, 2024

Thank you! This was helpful!

@ronaldsuwandi
Copy link
Author

the whole idea for this docker-compose is to get rid of the password though 😆

@madhuritm
Copy link

madhuritm commented Apr 26, 2024

The docker container is created But I can't reach the jupyter notebook. Please help! It's driving me crazy
Screenshot 2024-04-26 151912

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