Activate Python VENV conda activate bash conda install jupyter -c defaults jupyter lab $ jupyter lab --port=8888 --ip=0.0.0.0 --no-browser --allow-root --NotebookApp.token='' --notebook-dir=~/IdeaProjects/bd-notebooks-module/notebooks jupyter notebook $ jupyter notebook --port=8888 --ip=0.0.0.0 --no-browser --allow-root --NotebookApp.token='' --notebook-dir=${HOME}/IdeaProjects/bd-notebooks-module/notebooks Check the newly built image $ docker run -it --rm jupyter/all-spark-notebook:latest pyspark --version git reset --soft HEAD~2 # Changes stay in staging git reset HEAD~2 # Changes become unstaged