I have run into an issue when trying to run
circleci build locally on macOS when trying to build a docker image.
Example .config file
version: 2 jobs: build: docker: - image: cimg/base:2020.01 steps: - setup_remote_docker - run: name: Run Docker command: docker run cimg/base:2020.01 echo "hello"
failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: permission denied
I’ve looked at several similar questions such as this one but none of their solutions work.