Docker build: Cannot Connect to Docker Daemon

2.4k Views Asked by At

I've been trying to follow this tutorial on containerizing golang applications with docker. However, I ran into trouble once I tried to build the docker image. When I ran this command: docker build -t my-go-app . in my terminal I got an error:

time="2020-10-07T10:00:53-07:00" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp 192.168.99.100:2376: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
0

There are 0 best solutions below