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

Use Adobe Xd to create your own Tabular Model Diagram View in a few easy steps

Retrospective on Swift Island 2018

DevOps and Governance

Searching in BST | Rust

The Gorilla Guide to Serverless on Kubernetes — Chapter 4: What is Fission

Task 13:🔰 Create a Setup so that you can ping google but not able to ping Facebook from the same…

Basics of LDAP (Lightweight Directory Access Protocol)

Aashnee customer care number //9679220920//7318919146//

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/Former CTO of Dree • Co-Founder of Eklect Enterprises. Opinions on this blog are my own.

More from Medium

10 Github Extensions for VS Code that will ease your work 😀

GIthub image

Overview of ORM Database Tools

How to setup Github Actions to deploy to your Digital Ocean Server Automatically

Build your first CI/CD pipeline using Docker, Github Actions, and Webhooks while creating your own…