docker-crontab
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
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?
https://github.com/willfarrell/docker-crontab/issues/9#issuecomment-909839553
Same issue