Skip to main content

A thin wrapper around podlet that acts as a drop-in for docker/podman-compose

Project description

podlet-compose

A thin wrapper around podlet that acts as a drop-in replacement for docker-compose / podman-compose. It uses podlet to generate systemd quadlet service files from a compose.yaml and manages them via systemctl.

Disclaimer - This is currently only a PROOF OF CONCEPT. It has not been used in production and I do not recommend doing so.

Quick Start

Install latest release from PyPi (recommended)

pip install podlet-compose

See Installation for more installation options.

Usage

Usage: podlet-compose [OPTIONS] COMMAND

Generate systemd quadlet files from compose.yaml and manage services via systemctl.

Options:
      --dry-run        Print commands without executing
  -f, --file           Compose configuration files
  -h, --help           Print help information
  -p, --project-name   Specify an alternate project name

Commands:
  up                   Create and start containers
  down                 Stop and remove containers
  restart              Restart service containers
  start                Start services
  stop                 Stop services
  build                Build or rebuild services
  pull                 Pull service images
  ps                   List containers
  logs                 View output from containers
  top                  Display running processes
  images               List images
  port                 Print the public port for a port binding
  config               Validate and view compose config
  convert              Preview quadlet files
  version              Show version information

Requirements

Hacks (Optional Workarounds)

All compose file transformations are disabled by default. Enable them via PODLET_COMPOSE_HACKS:

# Enable specific hacks
PODLET_COMPOSE_HACKS=interpolate,name_inject podlet-compose up

# Enable all hacks
PODLET_COMPOSE_HACKS=all podlet-compose up

Available hacks: interpolate, name_inject, normalize, expand, strip_extensions. See the Hacks wiki page for details.

Documentation

Full documentation is available in the GitHub Wiki:

  • Installation — Pip, PyInstaller binary, Nix, and podman compose provider setup
  • Commands — Full command reference
  • How It Works — Technical architecture and internals
  • Hacks — Optional workarounds for podlet limitations
  • Limitations — Known limitations

License

GNU General Public License v3.0

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

podlet_compose-0.2.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

podlet_compose-0.2.1-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

Details for the file podlet_compose-0.2.1.tar.gz.

File metadata

  • Download URL: podlet_compose-0.2.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for podlet_compose-0.2.1.tar.gz
Algorithm Hash digest
SHA256 119e57cdf07b98210223eba819d7e50e8c4edbe64b6a84d18bf56c6be431e7de
MD5 328b74788db0d97b3b088ce69e6cbb16
BLAKE2b-256 16a9cdf6b4be059e3f3b292389f0e2d3462f1e1ebf1aad9c5fb24f2de2e53610

See more details on using hashes here.

Provenance

The following attestation bundles were made for podlet_compose-0.2.1.tar.gz:

Publisher: release.yml on bryce-hoehn/podlet-compose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file podlet_compose-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: podlet_compose-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 37.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for podlet_compose-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54c920e4a6951bccf982b6c07368a37c111e43263a66b097814ecb5e28f7f622
MD5 ffacce6b14458fcdf30dad17922f7366
BLAKE2b-256 7bc5ece8f75aef0608affc57f3a4bd69367dda2c4090ee87b02bac91843286f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for podlet_compose-0.2.1-py3-none-any.whl:

Publisher: release.yml on bryce-hoehn/podlet-compose

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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