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

About

Spawner to use podman with JupyterHub

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%