go-coffeeshop
go-coffeeshop copied to clipboard
Cannot start the project
Hi Mr ThangChung,
When jumped to .devcontainner and did the command make docker-compse
, I ran into this error
docker-compose down --remove-orphans -v
Removing network go-coffeeshop_coffeeshop-network
docker-compose up --build
Creating network "go-coffeeshop_coffeeshop-network" with the default driver
Building product
ERROR: BuildKit is enabled but the buildx component is missing or broken.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/
ERROR: Service 'product' failed to build : Build failed
make: *** [Makefile:42: docker-compose-start] Error 1
Could you me help me get through this issue.
I found that .env
file is missing at the root of the project, can you help me to check it
thanhtam98
I had similar problem, then I tried creating empty .env
file, it worked
I also encountered a similar problem. I used the windows 11 system locally, and docker was installed directly using Docker-Desktop.
@thanhtam98 Did you fix it? 3ks.