Utility for creating dockerized Jupyter kernels
Project description
Dockernel
Makes it possible to utilize arbitrary docker images as Jupyter kernels.
Installation, prerequisites
You will need Docker (obviously). For detailed instructions on how to install it, see Get Docker page.
To install Dockernel, use Pip.
pip install dockernel
Make sure that the jupyter
installation you wish to use with dockerized
kernels is in the same environment as dockernel
. Keep in mind, that kernels
installed with Dockernel in one version may not necessarily work with a
different one.
Usage
First, create a docker image that will host your kernel. This will require a proper dockerfile. An example can be seen here.
To build your image, use docker build
. E.g. to build the example mentioned
above:
sudo docker build --tag my_kernel - < example_dockerfile
After that, use Dockernel to install the docker image as a Jupyter kernel:
dockernel install my_kernel --name dockerized_kernel
... and you should be ready to go! Fire up jupyter notebook
and you should
see dockerized_kernel
under "New" menu, or in the "Notebook" section of the
Launcher tab in jupyter lab
.
Issues or questions?
Post a new issue in the Dockernell Issue Tracker at GitHub.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dockernel-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d2ce5f1dd38cf632bbf816053fbcf6faa9f9a80f24ba17e4a926436d7d37cd9 |
|
MD5 | 0f5a49d0637af6db4ca2c280a0449fa2 |
|
BLAKE2b-256 | 5565ae80cf3de93b330b3513b34f4e75b06c4d4ce936e3b2cd968ac6b65b7a5d |