Skip to content

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

Description

@urandu

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions