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.2.tar.gz (30.7 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.2-py3-none-any.whl (37.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: podlet_compose-0.2.2.tar.gz
  • Upload date:
  • Size: 30.7 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.2.tar.gz
Algorithm Hash digest
SHA256 0dcc3c8844add6e0c7fdd1ea839fd7404570e37f54819b1858ea1042ba32ec73
MD5 1d30642219fabb9097de69a5259f03e5
BLAKE2b-256 edf9f8d79baf90f2383889b8d5424c15c75efa30befccc01fc29f2bfc1047854

See more details on using hashes here.

Provenance

The following attestation bundles were made for podlet_compose-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: podlet_compose-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 37.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a75ace96bca04399046f1bb8d8061423efedcc43a2c51698d69f85a46037f507
MD5 923cfa76bfc03aae8744c921bab4217c
BLAKE2b-256 cabcc87f8a8dba557cca90f8ea016ef6983d71920affcc4fde8ae2a8162b0266

See more details on using hashes here.

Provenance

The following attestation bundles were made for podlet_compose-0.2.2-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