Closed Applequist closed 3 years ago
I think you made a typo somewhere; (apline
instead of alpine
);
docker.io/library/node:12-apline
I don't think there's a bug to fix here (see above), so let me go ahead and close this ticket, but feel free to continue the conversation
Oh gosh how embarrasing... They say to not copy/paste huh... I'll have to had that one in my vim abbreviation.
However am I still allowed to suggest a clearer error message? I have google that thing before creating an issue (I promise) and one I found in docker buildx (?) gave similar error message but was either fixed by login in or changing dns setting...
Any way thanks for looking into it
Yes, buildkit's errors are both "verbose", and somewhat confusing (hard to find the underlying error); see my comment on https://github.com/docker/buildx/issues/415#issuecomment-831885487. I think there's a tracking issue somewhere in the buildkit repository for this (improving error messages), but I can't find it (perhaps it's not there, and I should create one).
I think there's a tracking issue somewhere in the buildkit repository for this
I think you made a typo somewhere; (
apline
instead ofalpine
);docker.io/library/node:12-apline
Looking at this typo maybe this could be improved by checking flavors too for suggestions like it does in https://github.com/moby/buildkit/pull/2218 for some images. cc @tonistiigi
I think there's a tracking issue somewhere in the buildkit repository for this
Yeah, there's also https://github.com/moby/buildkit/issues/2176 and https://github.com/moby/buildkit/issues/799. I think https://github.com/moby/buildkit/issues/1472 may be a bit too "broad", as it's also (IIRC) for "debugging intermediate builds steps, etc. Perhaps we need a tracking issue / epic specifically about errors.
Hi,
I have just install Docker Desktop for Mac (Intel)
and try to run the getting started from the site at: https://docs.docker.com/get-started/02_our_app/ When building the docker image with 'docker build -t getting-started .' I get the following error:
But if I try the tutorial from the Dashboard, it just works...