Skip to main content

compose_version

Function compose_version 

Source
pub async fn compose_version(
    runner: &dyn ComposeRunner,
) -> Result<String, CoreError>
Expand description

Verify docker compose answers with major version ≥ 2 (the v1 docker-compose Python binary never answers to docker compose — absence IS the install-hint case). Returns the version string (e.g. "5.1.2").