Skip to content

manics/podmanclispawner

 
 

Repository files navigation

podmanclispawner

PyPI version GitHub Workflow

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

Packages

No packages published

Languages

  • Python 100.0%