docker-crontab icon indicating copy to clipboard operation
docker-crontab copied to clipboard

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock in macOS

Open urandu opened this issue 2 years ago • 2 comments

On macOS, the crontab container runs with the below error:

crontab-1 | crond: USER docker pid 242 cmd /bin/bash /opt/crontab/jobs/6ad06749-351e-459c-8f70-0291a9833c2e.sh crontab-1 | Start Cronjob 6ad06749-351e-459c-8f70-0291a9833c2e test curl crontab-1 | Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/json: dial unix /var/run/docker.sock: connect: permission denied

This has to do with an issue mounting the docker socket onto the container, have you experienced this before?

urandu avatar Jun 21 '22 19:06 urandu

https://github.com/willfarrell/docker-crontab/issues/9#issuecomment-909839553

m11m avatar Jul 14 '22 01:07 m11m

Same issue

vladdnepr avatar Nov 14 '22 10:11 vladdnepr