#29813·podman

Support health condition for container dependencies (--requires)

Author: harryzzCreated Sep 22, 2026Updated Sep 28, 2026
Labelskind/feature

Feature request description

Environment OS: CentOS Stream 10 Podman: 6.1.0 podman-compose: 1.5.0 Rootful Podman Problem

Podman supports persistent container dependencies using --requires.

For example, podman-compose translates:

depends_on: db: condition: service_healthy

into:

podman create ... --requires=db ...

The dependency is stored by Podman:

"Dependencies": [ "" ]

However, the healthy condition is not stored.

As a result, after a reboot:

podman start --all

Podman starts the required container first, but does not wait for it to become healthy before starting the dependent container.

Suggest potential solution

Suggestion

Could Podman support an optional condition for --requires, for example by storing additional dependency metadata?

Conceptually:

requires: db condition: healthy

If the condition is missing, behavior remains exactly as today (started), so this should be backward compatible.

If the condition is healthy, podman start / podman start --all would:

start db wait for db to become healthy start dependent container

This would also allow Compose implementations to preserve depends_on: condition: service_healthy after the initial compose up.

Have you considered any alternatives?

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Source: podman-container-tools/podman