Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Kernel provider used to manage Jupyter kernels in Docker or Docker Swarm clusters

License

Notifications You must be signed in to change notification settings

gateway-experiments/docker_kernel_provider

Repository files navigation

Docker Kernel Provider

NOTE: This repository is experimental and undergoing frequent changes!

The Docker Kernel Provider package provides support necessary for launching and managing Jupyter kernels within Docker or Docker Swarm clusters. This is accomplished via two classes:

  1. DockerKernelProvider is invoked by the application to locate and identify specific kernel specificiations (kernelspecs) that manage kernel lifecycles within Docker configurations.
  2. Either of DockerSwarmKernelLifecycleManager or DockerKernelLifecycleManager depending on the content of the docker_kernel.json file. One of these classes is instantiated by the RemoteKernelManager to peform the kernel lifecycle management. This class performs post-launch discovery of the kernel container and handles its termination via the docker-py python API.

Installation

DockerKernelProvider is a pip-installable package:

pip install docker_kernel_provider

Docker Kernel Specifications

Criteria for discovery of the kernel specification via the DockerKernelProvider is that a docker_kernel.json file exist in a sub-directory of kernels.

About

Kernel provider used to manage Jupyter kernels in Docker or Docker Swarm clusters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published