builder: extra init error handling#1732
Conversation
60f3d87 to
e4a27ec
Compare
e4a27ec to
27878f7
Compare
@crazy-max: Got a response here: I guess in this case it's Engine but without buildx plugin, which was my suspicion. So if we can return a predictable error here, Compose can also show a nice error, kind of like |
This is not from the same user reporting the issue with Docker 20.10. This is one is with Docker 23 but I'm not able to repro on my side, see docker/compose#10453 (comment) |
|
I managed to reproduce this purely by chance this weekend while working on a personal project in a really silly way: docker --context=doesnotexist buildx bake fooI'm doing cursed things that require me to switch back and forth between an AMD64 + ARM64 Docker context so kept explicitly passing Docker context. FWIW I'm using So making a typo here is an easy way to trigger it at least 🙃 |
Ok that's interesting. With Docker Desktop I'm not able to repro: But on a server or using a dind image I repro: On Docker Desktop if I invoke buildx in standalone mode I'm able to repro: So my guess is the proxy on DD does something with the context. |
27878f7 to
bff9d2a
Compare
|
@thaJeztah Do you think it'd be reasonable for |
Yep, not the proxy, but |
* Return errors from creating the `NodeGroup` * Ensure that `b.NodeGroup != nil` before reading from it during validation Signed-off-by: Milas Bowman <[email protected]>
bff9d2a to
14f5d49
Compare
NodeGroupb.NodeGroup != nilbefore reading from it during validationDetails
This was reported by a Compose user: