【发布时间】:2017-04-03 04:32:45
【问题描述】:
我想使用 Dockerfile 在 Docker for Mac 上的 ubuntu17.04 上安装 tshark。 我正在使用 docker-compose
在apt install tshark中有如下提示。
尽管我输入了yes,但提示停止安装。
如何在 Dockerfile 中安装 tshark?
Dumpcap can be installed in a way that allows members of the "wireshark" system
group to capture packets. This is recommended over the alternative of running
Wireshark/Tshark directly as root, because less of the code will run with
elevated privileges.
For more detailed information please see
/usr/share/doc/wireshark-common/README.Debian.
Enabling this feature may be a security risk, so it is disabled by default. If
in doubt, it is suggested to leave it disabled.
Should non-superusers be able to capture packets? [yes/no] yes
【问题讨论】:
标签: docker installation dockerfile tshark docker-for-mac