Miniconda with ssl
224
A Miniconda Jupyter container, secured with SSL.
This image includes a Miniconda installation and automatically generates SSL certificates on startup.
conda and pip are added to the path, wget is installed to grab data from everywhere.
There's also a smaller image available, which is based on miniconda instead of anaconda.
Miniconda is like anaconda, but instead of having a lot of packages preinstalled, only python and conda are present (jupyter will be installed during image building), but all packages which are available in anaconda are available through the conda command.
| Installation | Image Size | Link |
|---|---|---|
| Anaconda | 2GB | https://github.com/sauercrowd/anaconda-python3-ssl-docker |
| Miniconda | 452MB | https://github.com/sauercrowd/miniconda-python3-ssl-docker |
I recommend to mount a folder from the docker host, to be able move data from the container to the host and vice versa.
$ docker run -d -p 8888:8888 \
-v `pwd`/jupyter-mount:/home/conda/jupyter-mount \
--name miniconda \
jonadev95/miniconda-python3-ssl-docker
In order to be able to log in you need the token generated by jupyter, so execute
$ docker logs miniconda
and search for the line
[C 21:54:40.449 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
https://0.0.0.0:8888/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Now either
0.0.0.0 with the docker host IP and follow that linkhttps://$HOST_IP:8888 and use the token to loginBoth methods will log you in perfectly, but when using the latter method firefox will save the token as a password so you don't need to look it up again
Jupyter Notebooks got a buil-in terminal, which makes it easy to install additional packages. Just use pip or conda to install whatever you want, or grab datasets with wget.

Root access/sudo is disabled for security reasons, which means you're not able to install packages via apt-get.
Content type
Image
Digest
Size
432 MB
Last updated
about 9 years ago
docker pull jonadev95/miniconda-python3-ssl-docker