addnab / docker-run-action

MIT License
209 stars 93 forks source link

Rely on DOCKER_HOST - if it exists - to mount the Docker socket at the entrypoint. #54

Open redartera opened 7 months ago

redartera commented 7 months ago

One example where the Docker socket is not under /var/run/docker.sock is Github Actions Runner Controller DinD (c.f. https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/deploying-runner-scale-sets-with-actions-runner-controller#using-docker-in-docker-mode)

This change should enable this action to run with ARC.