You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] v2.36.2 regression: dependent service with image does not get built #12892
After upgrading to latest Docker CE 28.2.2, which comes with docker compose 2.36.2, my pipelines started failing and after troubleshooting it, this is why.
❯ docker compose up --wait test2[+] Running 2/2 ✔ Network tmpd6vtlxcxic_default Created 0.4s ✘ Container tmpd6vtlxcxic-test1-1 Error response from daemon: No such i... 0.0s Error response from daemon: No such image: test-yada-yada:latest
In 2.36.1 downwards this works normally and docker compose properly builds the dependent image.
This just landed in ubuntu-latest worker on github. Took a while to find this issue.
Posting this here for a dev that might stumble on this: Error response from daemon: No such image: imagename:latest
Activity
Downgrade docker compose to 2.35.1
felipecrs commentedon Jun 2, 2025
Thanks a lot, @ndeloof!
irdkwmnsb commentedon Jun 18, 2025
This just landed in ubuntu-latest worker on github. Took a while to find this issue.
Posting this here for a dev that might stumble on this:
Error response from daemon: No such image: imagename:latestPossible resolvement:
Either build the image in a separate step, or don't pass the[SERVICE...]args for compose upUse https://github.com/docker/setup-compose-action
felipecrs commentedon Jun 18, 2025
Or better yet, use a newer docker compose version with the fix:
https://github.com/docker/setup-compose-action
irdkwmnsb commentedon Jun 18, 2025
To my best knowledge there is no way to specify compose version for https://github.com/docker
setup-buildx-action for example
And we need the buildx
felipecrs commentedon Jun 18, 2025
Of course you can: https://github.com/docker/setup-compose-action#customizing
And for buildx: https://github.com/docker/setup-buildx-action
irdkwmnsb commentedon Jun 18, 2025
So it's ok to use both setup-compose-action and setup-buildx-action in a single workflow?
felipecrs commentedon Jun 18, 2025
Yes, one has no intersection with another.
github/workflows: always use latest stable docker compose release
github/workflows: always use latest stable docker compose release
github/workflows: always use latest stable docker compose release
github/workflows: always use latest stable docker compose release
github/workflows: always use latest stable docker compose release
github/workflows: always use latest stable docker compose release