From 1aeec6203327d6dea70642eb1270792452210ced Mon Sep 17 00:00:00 2001 From: Ben Irving Date: Thu, 9 Mar 2017 10:12:44 -0800 Subject: [PATCH] Wireshark: Add CAP_NET_RAW and CAP_NET_ADMIN to /usr/bin/dumpcap (#244) * Fix Wireshark permission issue * try again --- wireshark/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wireshark/Dockerfile b/wireshark/Dockerfile index dcbf817..f30e5c8 100644 --- a/wireshark/Dockerfile +++ b/wireshark/Dockerfile @@ -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