Files
sablier/docs/providers/podman.md
sablier-bot[bot] 9d2b7793bd chore(main): release 1.10.5 (#748)
Co-authored-by: sablier-bot[bot] <186367030+sablier-bot[bot]@users.noreply.github.com>
2025-11-23 17:05:40 -05:00

1.3 KiB

Podman

The Podman provider communicates with the podman.sock socket to start and stop containers on demand.

Use the Podman provider

In order to use the docker provider you can configure the provider.name property.

File (YAML)

provider:
  name: podman

CLI

sablier start --provider.name=podman

Environment Variable

PROVIDER_NAME=podman

!> Ensure that Sablier has access to the podman socket!

services:
  sablier:
    image: sablierapp/sablier:1.10.5
    command:
      - start
      - --provider.name=podman
    volumes:
      - '/run/podman/podman.sock:/run/podman/podman.sock'

Register containers

For Sablier to work, it needs to know which podman container to start and stop.

You have to register your containers by opting-in with labels.

services:
  whoami:
    image: acouvreur/whoami:v1.10.2
    labels:
      - sablier.enable=true
      - sablier.group=mygroup

How does Sablier knows when a container is ready?

If the container defines a Healthcheck, then it will check for healthiness before stating the ready status.

If the containers do not define a Healthcheck, then as soon as the container has the status started