Single Node base on conda
You need install conda first.
conda create -n myenv -y python=3.7.7
#check which shell I am using?
echo $0
conda init bash
source /root/.bashrc
RUN bash -c "source /root/.bashrc"
conda activate myenv
conda install notebook ipykernel
ipython kernel install --user --name myenv --display-name "Python (myenv)"
Start the notebook server from the command line:
jupyter notebook --ip='*' --NotebookApp.token='' --NotebookApp.password=''
jupyter notebook --ip='*' --NotebookApp.token='' --NotebookApp.password='' --allow-root
A notebook server runs locally at 127.0.0.1:8888 and is accessible only from localhost. You may access the notebook server from the browser using http://127.0.0.1:8888.
Single Node base on mamba
mamba create -n myjlabenv jupyterlab -c conda-forge
mamba activate myjlabenv # activate our environment
jupyter lab # this will start up jupyter lab and open a browser
Kubernetes
https://z2jh.jupyter.org/en/stable/
docker
https://docs.docker.com/guides/use-case/jupyter/