Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takluyver/jupyter_docker_kernels
Experimental docker kernels for Jupyter
https://github.com/takluyver/jupyter_docker_kernels
Last synced: 4 days ago
JSON representation
Experimental docker kernels for Jupyter
- Host: GitHub
- URL: https://github.com/takluyver/jupyter_docker_kernels
- Owner: takluyver
- License: mit
- Created: 2018-02-13T18:11:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-14T18:14:29.000Z (over 6 years ago)
- Last Synced: 2024-11-05T10:58:19.790Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
This is experimental, to work with jupyter_kernel_mgmt.
You will need docker set up. Build a tagged docker image with the Dockerfile
in this repo, by running::
docker build -t jupyter-kernel-eg .
Create a file ``~/.jupyter/docker_kernels.toml`` with contents like this:.. code-block:: ini
[kernels.python]
image = "jupyter-kernel-eg"
language = "python"
cwd = "/home/takluyver/scratch"Then test with ``python3 -m jupyter_docker_kernels``. It should start a kernel
in a docker container, connect to it, get kernel info, and shut it down cleanly.To use another docker image, ensure that it is built to start the kernel with
a connection file ``/connect/kernel.json`` and a working directory ``/working``.