amplab / docker-scripts

Dockerfiles and scripts for Spark and Shark Docker images
261 stars 102 forks source link

Allow dnsmasq to be run as root #29

Closed mrphilroth closed 10 years ago

mrphilroth commented 10 years ago

Without this change, the dnsmasq command returns an error every time it is called and the nameserver never comes up. This is the error: dnsmasq: setting capabilities failed: Operation not permitted

This link may have more information about why this change is now necessary: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514214

Also, the syntax for docker tag has changed.

mrphilroth commented 10 years ago

Ah! There's an issue open for this. Fixes #28.

AndreSchumacher commented 10 years ago

Ahhh.. interesting. Maybe recent versions of Docker changed the default user root to somebody else? At least earlier I think root was implicit. I will test and update the image if successful. Thanks a lot for the PR!