A site for solving at least some of your technical problems...
A site for solving at least some of your technical problems...
Docker is still a very strange beast to me and some of the errors it generates are even stranger.
Today I got this one:
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to create LLB definition: no build stage in current context
which means roughly nothing to a normal human being.
The fact is that it happens when there is an error in the setup.
In my case, I added this line:
ENV BUILDKIT_PROGRESS=plain
before this one:
FROM ...
and as a result got that message as shown above.
I've found a post which mentioned the same error and the people mentioned several different types of errors:
Source: dockerfile.v0 error
Recent Posts on The Linux Page: