Wireshark: Add CAP_NET_RAW and CAP_NET_ADMIN to /usr/bin/dumpcap (#244)

* Fix Wireshark permission issue

* try again
This commit is contained in:
Ben Irving 2017-03-09 10:12:44 -08:00 committed by Jess Frazelle
parent f855542e10
commit 1aeec62033

View File

@ -24,6 +24,9 @@ ENV HOME /home/wireshark
RUN useradd --create-home --home-dir $HOME wireshark \
&& chown -R wireshark:wireshark $HOME
RUN chown root:wireshark /usr/bin/dumpcap \
&& setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
USER wireshark
WORKDIR wireshark