PodmanCLISpawner for JupyterHub
Project description
podmanclispawner
JupyterHub Podman Spawner.
This is a fork of https://github.com/gatoniel/podmanspawner without the dependencies on local system users.
Overview
This is a simplified version of https://github.com/gatoniel/podmanspawner that runs Podman containers using the podman
executable, but without tying the container to the local users.
For example, this means it can be used as a JupyterHub spawner for BinderHub, without the need for a daemon or privileged container engine.
Technical
subprocess
is used to make calls to the Podman executable.
See also this issue on
dockerspawner.
Installation
Install latest release:
pip install podmanclispawner
Install latest development branch:
pip install git+https://github.com/manics/podmanclispawner
JupyterHub configuration
c.JupyterHub.spawner_class = 'podmancli'
For a full example see example/jupyterhub_config.py
:
cd example
jupyterhub -f jupyterhub_config.py
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 podmanclispawner-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 042740244763f98df1534e1986a2ebe9e5173e4d782ef99e4d25c685f7364228 |
|
MD5 | da72bc9bed6cab6495f8af06edbcbd66 |
|
BLAKE2b-256 | 18e588a971b20d7774bf3db497dafb64e7f65bafaf11a90d9d09017c1498878d |