How to fix the missed file when GCP did not find, running Docker, on macOS?


I followed the tutorial Quickstart for Docker, but I got an error.

Here is the error:

gcloud builds submit --tag .
ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: './.local/share/akonadi/socket-Gustavos-Mac-mini.local'

I use:

  • macOS 10.13.6
  • zsh

I installed:

  • docker and docker-swarm from Homebrew
  • Macports
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown 路 Publish articles on custom domain 路 Gain readership on day zero 路 Automatic GitHub backup and more

Comments (3)

Gijo Varghese's photo

Is the Dockerfile in the correct directory you're pointing?

Gustavo Benedito Costa's photo

Yes, here is the Dockerfile codes:

FROM alpine
CMD ["/"]

Dockerfile and are in the same directory (home).

Gijo Varghese's photo

Can you try this is your .Dockerfile

COPY . /home/app/ 
WORKDIR /home/app/
CMD ["/home/app/"]