Containerized JupyterLab with Python 3
✔️ All templates based on official images - Docker Hub
✔️ Code formatter - Black & isort
✔️ Sync local directories
- Windows --> It's mandatory to install and run commands in WSL to enable GPU computing https://learn.microsoft.com/en-us/windows/wsl/install
- Mac --> https://docs.docker.com/desktop/mac/install/
- Windows --> https://docs.docker.com/desktop/windows/install/
- Linux --> https://docs.docker.com/desktop/linux/install/
git clone https://github.com/scr255/Docker-JupyterLab-Templates.git
Example for template "Scipy-JupyterLab":
cd Docker-JupyterLab-Templates/Scipy-JupyterLab
volumes:
- .:/home/jovyan/work
volumes:
- ~/Documents:/home/jovyan/work
docker compose up
Copy token from terminal
Open http://localhost:8888/lab and paste the token
Open the .ipynb file as a starting point
Hit Ctrl+C in the terminal to stop the server
Then remove containers by submitting:
docker compose down
All templates bind to port 8888 for Jupyter. Additional ports, depending on the template:
- MongoDB-JupyterLab --> http://localhost:8081 for Mongo Express
- Neo4j-JupyterLab --> http://localhost:7474 for Neo4j Browser
- PyTorch-CUDA-JupyterLab --> http://localhost:6006 for TensorBoard
- Spark-Delta-JupyterLab --> http://localhost:4040 for SparkUI (active task to show up)