Skip to main content

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

dockernel-1.0.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

dockernel-1.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file dockernel-1.0.2.tar.gz.

File metadata

  • Download URL: dockernel-1.0.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for dockernel-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d9d5aa7d470743e60a9afb0dacd41094ec3532f4811ab74cc1580859515e3439
MD5 a1ba3010e3992fb24eb1a6ab52132b07
BLAKE2b-256 5b824e5254996336d176eee580d37e61398af3ff76a8d807f9fcb56f2c42f54e

See more details on using hashes here.

File details

Details for the file dockernel-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: dockernel-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for dockernel-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2d2ce5f1dd38cf632bbf816053fbcf6faa9f9a80f24ba17e4a926436d7d37cd9
MD5 0f5a49d0637af6db4ca2c280a0449fa2
BLAKE2b-256 5565ae80cf3de93b330b3513b34f4e75b06c4d4ce936e3b2cd968ac6b65b7a5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page