我想使用Dockerfile在Mac上的Docker的ubuntu17.04上安装tshark.
我正在使用docker-compose
在apt install tshark中,出现以下提示.
尽管我键入是,但提示仍停止安装.
如何在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
最佳答案
RUN DEBIAN_FRONTEND =非交互式apt-get install -y tshark将在不需要用户交互的情况下安装.
原文链接:https://www.f2er.com/docker/532715.html