mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
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:
parent
f855542e10
commit
1aeec62033
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user