zyclonite / zerotier-docker

ZeroTier One as Docker Image
MIT License
305 stars 74 forks source link

Add -U to skip privilege check #4

Closed aadnehovda closed 2 years ago

aadnehovda commented 2 years ago

Hi, since you are already giving the container the necessary caps you should be able to add CMD ["-U"] to the end of the Dockerfile to skip checking for and dropping privileges. I've done essentially the same with a systemd unit -- specifying a user/group and adding caps.

zyclonite commented 2 years ago

makes sense, i added it to the main branch