2
1
I installed wireshark using yum
(RUN yum install -y wireshark wireshark-qt
) - and cannot run it when I ssh into the container.
# tshark
tshark: Couldn't run /usr/sbin/dumpcap in child process: Operation not permitted
Are you a member of the 'wireshark' group? Try running
'usermod -a -G wireshark _your_username_' as root.
I tried running usermod -a -G wireshark root
(as when I ssh into the machine, it is as root). This does not help.
Also tried su -c '/usr/sbin/tshark'
unsuccessfully.
What should I do?
This seemed to mostly work for me on OEL7. – Jay Taylor – 2018-09-24T23:06:57.473