laravel-vuejs-docker icon indicating copy to clipboard operation
laravel-vuejs-docker copied to clipboard

Docker not working with Mac OS

Open dev-junaid opened this issue 3 years ago • 2 comments

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

dev-junaid avatar Aug 03 '22 14:08 dev-junaid

rename your Dockerfile.dev to Dockerfile

kv4nt avatar Nov 16 '22 13:11 kv4nt

You could also change build context:

....
    build:
      context: .
      dockerfile: ./Dockerfile.dev
...

pch4115209 avatar Mar 17 '23 02:03 pch4115209