JLab
JupyterLab environment, based on python 3.10, with common libraries for data science and analytics.
Get or build image
From Docker Hub
docker pull spoterianski/jlab:latest
From GitHub
docker pull ghcr.io/spoterianski/jlab
Build localy
docker build --no-cache -t spoterianski/jlab .
Usage
Go to your working directory and run:
docker run -it --rm --name jlab -p 8888:8888 -e JUPYTER_TOKEN={PASSWORD} -v $PWD:/app spoterianski/jlab:latest
Where {PASSWORD} is the password to access the JupyterLab server.
Optimisation usage
Add to your .zshrc
next lines:
jlab() {
(sleep 3 && open "http://0.0.0.0:8888/lab?token=password")&
docker run -it --rm --name jlab -p 8888:8888 -e JUPYTER_TOKEN=password -v $PWD:/app spoterianski/jlab:latest
}
Go to your working directory and run JupyterLab:
jlab