maxheld83 / ghactions

GitHub actions for R and accompanying R package
https://www.maxheld.de/ghactions/
MIT License
169 stars 17 forks source link

allow passing on of docker socket #307

Open maxheld83 opened 5 years ago

maxheld83 commented 5 years ago

currently:

Running docker run --volume '/var/run/docker.sock:/var/run/docker.sock' \
  'alpine:3.10.1' sh -c 'exit 1'
docker: Error response from daemon: This Docker operation is forbidden by GitHub Actions, you can find documentation at https://developer.github.com/actions/.
See 'docker run --help'.

That's not great, because it disallows a elegant way to run docker in docker as per #271

maxheld83 commented 5 years ago

send email to support.

maxheld83 commented 5 years ago

notably, the "official" Docker GitHub action does not appear to pass on the upstream socket, but just really runs docker in docker, though that is discouraged.