Skip to main content

PodmanCLISpawner for JupyterHub

Project description

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

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

podmanclispawner-0.3.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

podmanclispawner-0.3.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file podmanclispawner-0.3.0.tar.gz.

File metadata

  • Download URL: podmanclispawner-0.3.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for podmanclispawner-0.3.0.tar.gz
Algorithm Hash digest
SHA256 79d771e03b4ff0b28202839fbf28ee8e1f2a9e1b6d1662bbef86b304d47f0ac7
MD5 64b5a2d06ab542679a52f70055728268
BLAKE2b-256 f94cd8198e407e1d71ce327a09cb1561722b5b9647ae4bba034c221fa55dbc27

See more details on using hashes here.

File details

Details for the file podmanclispawner-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for podmanclispawner-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 042740244763f98df1534e1986a2ebe9e5173e4d782ef99e4d25c685f7364228
MD5 da72bc9bed6cab6495f8af06edbcbd66
BLAKE2b-256 18e588a971b20d7774bf3db497dafb64e7f65bafaf11a90d9d09017c1498878d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page