smebberson / docker-alpine

Docker containers running Alpine Linux and s6 for process management. Solid, reliable containers.
MIT License
596 stars 186 forks source link

Does go-dnsmasq need root? #32

Closed matthewvalimaki closed 8 years ago

matthewvalimaki commented 8 years ago

Does go-dnsmasq need to be run as root? I do get that it needs to be able to modify -rw-r--r-- 1 root root 239 Mar 14 21:57 /etc/resolv.conf but that could be taken care of with a new group?

I can work on PR if root is not required.

smebberson commented 8 years ago

@matthewvalimaki, I'm not aware that it needs to be run as root. The repository doesn't mention anything about it and I have not ever tried to not run as root. Sorry I couldn't be of more help here. I guess you'll have to give it a shot ;)

smebberson commented 8 years ago

@matthewvalimaki, are you interesting in creating a PR for this?

matthewvalimaki commented 8 years ago

@smebberson PR put through but make sure build environment is enough up to date due to kernel bug causing build to fail :(