Docker -> How to fix failed to solve with frontend dockerfile.v0 error when building a docker image

Tony Mucci
Code Kings
Published in
Dec 27, 2021
Photo by Ian Taylor on Unsplash

TL;DR; Run this in terminal

export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0

This will fix that error and you will be able to build your docker image.

--

--

Tony Mucci
Code Kings

Co-founder of SimpliCourt, dree, My Company Tools, and Eklect Enterprises