actions / runner-container-hooks

Runner Container Hooks for GitHub Actions
MIT License
63 stars 41 forks source link

Add support for custom `DOCKER_HOST` mount #162

Open jarojasm95 opened 2 months ago

jarojasm95 commented 2 months ago

This PR adds support for customizing the docker socket mount used in GHA containers.

This will be specially useful for rootless docker setups where the socket will be in a custom location depending on the user.

If this is seen as a breaking change perhaps a different environment variable could be used (other than DOCKER_HOST) or a env toggle to enable the new behavior