Skip to content

[Ubuntu 24] Docker compose issue with 2.36.0 #12289

@vDMG

Description

@vDMG

Description

Since the latest Ubuntu tools update in the GitHub standard runner, all Docker Compose usage with profiles is broken when used with the --profiles CLI option.

This is a known issue fixed in v2.36.1: docker/compose#12825

This has a major impact on all people relying on Docker Compose with profiles, using the CLI option to explicitly define them.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250527.1

Is it regression?

https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250511.1

Expected behavior

Bump to the highest fixed version.

Actual behavior

Docker compose does not find the service.

Repro steps

Define a docker compose file with a service that use profiles :

  service-a:
    image: myimage:latest
    profiles:
      - ci

try to run it with docker compose like
docker compose build service-a

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions