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