JupyterHub Podman Spawner.
This is a fork of https://github.com/gatoniel/podmanspawner without the dependencies on local system users.
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.
subprocess
is used to make calls to the Podman executable.
See also this issue on
dockerspawner.
Install latest release:
pip install podmanclispawner
Install latest development branch:
pip install git+https://github.com/manics/podmanclispawner
c.JupyterHub.spawner_class = 'podmancli'
For a full example see example/jupyterhub_config.py
:
cd example
jupyterhub -f jupyterhub_config.py