Skip to content

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented May 21, 2025

What I did

As an error occurs (re)creating container, update progress with cause, but only for the culprit container - others will get context cancelled and report the same error as cause

$ docker compose up
[+] Running 2/2
 ✔ hello-arm64 Pulled                                                                                                                                                              1.1s 
 ✔ hello-amd64 Pulled                                                                                                                                                              1.1s 
[+] Running 1/2
 ✘ Container truc-hello-arm64-1               Error response from daemon: image with reference debian was found but its platform (linux/amd64) d...                                0.0s 
 ⠋ Container 445577bb3fe3_truc-hello-amd64-1  Recreate                                                                                                                             0.0s 
Error response from daemon: image with reference debian was found but its platform (linux/amd64) does not match the specified platform (linux/arm64)

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested a review from a team as a code owner May 21, 2025 13:27
@ndeloof ndeloof requested a review from glours May 21, 2025 13:27
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

@ndeloof ndeloof merged commit cc50ada into docker:main May 21, 2025
26 checks passed
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request May 26, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker/compose](https://github.com/docker/compose) | patch | `v2.36.1` -> `v2.36.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>docker/compose (docker/compose)</summary>

### [`v2.36.2`](https://github.com/docker/compose/releases/tag/v2.36.2)

[Compare Source](docker/compose@v2.36.1...v2.36.2)

#### What's Changed

##### 🐛 Fixes

-   Run ContainerStart sequentially by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12851
-   Only use attestation when building image outside the development inner loop by [@&#8203;glours](https://github.com/glours) in docker/compose#12853
-   Report error (re)creating container by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12859
-   Fix `up --build` with additional_context dependency by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12863

##### 🔧  Internal

-   Add example provider implementation by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12848
-   Add `up --build` e2e test by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12864

##### ⚙️ Dependencies

-   Build(deps): bump github.com/containerd/containerd/v2 from 2.1.0 to 2.1.1 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#12857
-   Bump compose-go to v2.6.4 by [@&#8203;glours](https://github.com/glours) in docker/compose#12867
-   Bump buildkit v0.22.0 and buildx v0.24.0 by [@&#8203;glours](https://github.com/glours) in docker/compose#12868

**Full Changelog**: docker/compose@v2.36.1...v2.36.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yNi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
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.

2 participants