FG
☁️ Cloud & DevOpsDocker

[BUG] Building with bake hangs indefinitely

Fresh7 months ago
Mar 14, 20260 views
Confidence Score85%
85%

Problem

Description Our CI started to hang on deployment somewhen last month, as we're not pinning docker compose. [code block] I've took the liberty to shorten/edit the `args`. I've alse hit `CTRL + C` to abort it, as it would be hanging forever. The other two command seems to work fine somehow. Steps To Reproduce Kinda hard, cause I can't share the repo. 1. Running `docker compose up` with on our repo 2. Hangs forever - will get killed after an hour on CI, thanks to gitlab (usually builds need around 8 min) Compose Version [code block] Docker Environment [code block] Anything else? Opting out of `bake` seems to solve the problem for us now on CI.

Error Output

error                                    error="<nil>"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026

Solution: [BUG] Building with bake hangs indefinitely

Low Risk

Can you please change your CI script to run: [code block] This is to confirm this is an integration issue with bake or something else

84

Trust Score

1 verification

100% success
  1. 1

    Can you please change your CI script to run:

    [code block] This is to confirm this is an integration issue with bake or something else

    text
    $ docker compose build --print > /tmp/bake.json
    $ docker buildx bake -f /tmp/bake.json

Validation

Resolved in docker/compose GitHub issue #12998. Community reactions: 0 upvotes.

Verification Summary

Worked: 1
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

dockerdocker-composecontainerskind/bug