Skip to content

Docker compose build hangs running .net projectΒ #12688

@nikjuice

Description

@nikjuice

Description

After the Ubuntu runner image was updated to 2025.07.28.1
(https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20250728.1),
our Docker Compose builds began to consistently hang and eventually time out after 60 minutes.

This issue occurs during random steps of the pipeline, most frequently during unit test execution.

We run compose from powershelltask

- powershell: |    
      docker compose -f docker-compose.yml build api

We use FROM mcr.microsoft.com/dotnet/sdk:8.0 in our docker file.

We initially suspected a relation to actions/runner-images#12685, and attempted the following workarounds without success:

  • Upgraded Docker Compose to 2.38.2
  • Downgraded Docker Compose to 2.36.2
  • Downgraded Docker Buildx to 0.25.0

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/ubuntu22%2F20250728.1

Is it regression?

yes

Expected behavior

Build not hangs

Actual behavior

Build hangs

Repro steps

Run docker compose that used .net8 sdk and build .net project

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions