Docker not working with Mac OS
Opened this issue · 2 comments
dev-junaid commented
On executing docker-compose build
, i am getting the following error in the console.
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1638961496/Dockerfile: no such file or directory
ERROR: Service 'server' failed to build : Build failed
Any workaround in that
kv4nt commented
rename your Dockerfile.dev to Dockerfile
pch4115209 commented
You could also change build context:
....
build:
context: .
dockerfile: ./Dockerfile.dev
...