Skip to content

Instantly share code, notes, and snippets.

@ronaldsuwandi
Last active June 24, 2024 23:04
Show Gist options
  • 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 required)
version: "3.9"
services:
jupyter:
image: quay.io/jupyter/scipy-notebook
ports:
- "8888:8888"
volumes:
- ./notebooks:/home/jovyan/
environment:
JUPYTER_ENABLE_LAB: "yes"
@madhuritm
Copy link

@madhuritm which port are you using? it should be localhost:8888

Thank you for your reply. I had something configured wrong on my putty.

@rafaelrdealmeida
Copy link

@rafaelrdealmeida your docker compose port is mapping 8889 to localhost 8888. My understanding is the default port for Jupyter is 8888. Try changing your port to both 8888

Thank you for your reply. It really was a default port error

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