Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Add option to run docker in "sudo" #44

Open dtanzer opened 9 years ago

dtanzer commented 9 years ago

Right now, docker can be run with sudo when I use the following option in build.gradle:

docker { dockerBinary = "sudo docker" }

This is a bit of a workaround. Some dedicated option would be nicer...

ccampo133 commented 8 years ago

I'll try to submit a PR for this