Code Kings
Published in

Code Kings

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

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.

--

--

--

Programming tips & tricks from professionals

Recommended from Medium

Meet Volley, Shipt’s Latest Open-Source Offering

Turning your Linux Computer into a Screencast station for pareto principle level professionality

Kubernetes on Rancher with Weave

FIFA 22, DCE was Future Challenge Solution Stars 8

Flutter Web + Firebase functions

Aggregation, Transform, Filter — How and When to use them?

React Native vs. Flutter: the key differences every developer should know

How to Write an App Description that Sells

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tony Mucci

Tony Mucci

Founder of My Company Tools • Co-Founder/CTO of Dree • Co-Founder of Eklect Enterprises. Opinions on this blog are my own.

More from Medium

How Container is better than Virtual Machines ??

Auth0 — Add default role on User creation and load role list on User LogIn

DHIS2 Database Migration/Restoration Process

Local Development Environment: from Vagrant to Docker