docker – An error, failed to solve with frontend dockerfile.v0

docker – An error, failed to solve with frontend dockerfile.v0

I had experienced this issue after upgrading to the latest Docker Desktop version on Mac. Solved with the comment on this issue.

Solution: Dont use buildkit and it works for me.

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0

I had the same issue and all I had to do was to capitalize the Docker configuration filename:

dockerfile > didnt work

Dockerfile > did work

docker – An error, failed to solve with frontend dockerfile.v0

Probably not the problem the OP had, but I had this issue while trying to build my container running inside Windows Subsystem for Linux (WSL) (Debian WSL2), just after having freshly installed Docker Compose and all I had to do was close the (Debian) terminal and reopen it and my issue was solved.

Leave a Reply

Your email address will not be published. Required fields are marked *