Skip to content

Fix docker-compose install: bump to v2.29.7 for Docker API 1.44+ compatibility - #4592

Merged
LiliDeng merged 1 commit into
mainfrom
smyakam/docker-compose/2026_07_12
Jul 14, 2026
Merged

Fix docker-compose install: bump to v2.29.7 for Docker API 1.44+ compatibility#4592
LiliDeng merged 1 commit into
mainfrom
smyakam/docker-compose/2026_07_12

Conversation

@SRIKKANTH

@SRIKKANTH SRIKKANTH commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Problem:
verify_docker_compose_wordpress_app (and other docker-compose tests) fail with:

The DockerCompose tool hardcoded the standalone binary v2.14.2 (Dec 2022), which negotiates Docker API 1.42. Newer Docker Engine builds (v25+) dropped support for API < 1.44, so the pinned client is rejected before any container is created.

Root Cause:
Stale version pin in docker_compose.py:55-59. All install paths (Redhat, CBLMariner, generic Posix fallback) route through _install_from_source(), so every affected distro hit the failure.

Change:
Bumped docker-compose from v2.14.2 → v2.29.7 (negotiates API ≥ 1.44).
Updated the release asset name from docker-compose-Linux-{hardware} → docker-compose-linux-{hardware} (Compose v2 renamed the asset to lowercase linux; the old capitalized path 404s on the new release).

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

  • verify_docker_compose_wordpress_app

Impacted LISA Features:

Tested Azure Marketplace Images:

  • Canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest

Test Results

Image VM Size Result
Canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest Standard_D2lds_v5 PASSED

…atibility

Problem:
        verify_docker_compose_wordpress_app (and other docker-compose tests) fail with:

    The DockerCompose tool hardcoded the standalone binary v2.14.2 (Dec 2022), which negotiates Docker API 1.42. Newer Docker Engine builds (v25+) dropped support for API < 1.44, so the pinned client is rejected before any container is created.

Root Cause:
    Stale version pin in docker_compose.py:55-59. All install paths (Redhat, CBLMariner, generic Posix fallback) route through _install_from_source(), so every affected distro hit the failure.

Change:
    Bumped docker-compose from v2.14.2 → v2.29.7 (negotiates API ≥ 1.44).
    Updated the release asset name from docker-compose-Linux-{hardware} → docker-compose-linux-{hardware} (Compose v2 renamed the asset to lowercase linux; the old capitalized path 404s on the new release).
@SRIKKANTH
SRIKKANTH requested a review from LiliDeng as a code owner July 11, 2026 22:46
Copilot AI review requested due to automatic review settings July 11, 2026 22:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DockerCompose tool’s pinned docker-compose standalone binary to a newer release so docker-compose-based LISA tests can run against newer Docker Engine versions (API 1.44+), and fixes the GitHub release asset name casing change.

Changes:

  • Bump pinned docker-compose release from v2.14.2 to v2.29.7.
  • Update the downloaded release asset name from docker-compose-Linux-{hardware} to docker-compose-linux-{hardware}.

@github-actions

Copy link
Copy Markdown

✅ AI Test Selection — PASSED

1 test case(s) selected (view run)

Marketplace image: canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 latest

Count
✅ Passed 1
❌ Failed 0
⏭️ Skipped 0
Total 1
Test case details
Test Case Status Time (s) Message
verify_docker_compose_wordpress_app (lisa_0_0) ✅ PASSED 108.829

@LiliDeng

Copy link
Copy Markdown
Collaborator

@SRIKKANTH Please run it against an older image to verify compatibility.

@LiliDeng

Copy link
Copy Markdown
Collaborator

I have run it against canonical 0001-com-ubuntu-server-jammy 22_04-lts-gen2 22.04.202403280 successfully.

@LiliDeng
LiliDeng merged commit 975d25d into main Jul 14, 2026
62 checks passed
@LiliDeng
LiliDeng deleted the smyakam/docker-compose/2026_07_12 branch July 14, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants