jupyter notebook docker container specifically supporting python2.7
1.1K
jupyter notebook docker container specifically supporting python2.7
Jupyter notebooks are awesome, but recently they stopped supporting python2. So if you have python2 notebooks, or an environment that requires you to use python2, you are a bit out of luck.
Here's a docker container based on python2.7 that installs jupyter, and allows you to customize what gets loaded via requirements.txt files.
The requirements.txt in this repo is the base that's loaded into the docker container.
docker run --rm -it --name jupyter2 -p 8888:8888 -v ":/opt/notebooks" 0x7eff/jupyter2
This will pull the container, mount the volume for your notebooks on your local machine, and open port 8888. When the container starts it will spit out a link with a token that you can paste into your firefox to connect to the notebook server.
If you want custom stuff loaded into the container's python environment just add a requirements.txt file to and it will be installed when the container starts.
Content type
Image
Digest
Size
423.3 MB
Last updated
almost 8 years ago
docker pull 0x7eff/jupyter2