一.iptables防火墙 1.基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkconfig iptables off # 永久关闭后重启 chkconfig iptables on 2.开启80端口 vim /etc/sysconfig/iptables
here are multiple "hackish" ways to do it: scan kernel logs, as mentioned by Jiri (but you have to do it right after starting the container, otherwise it gets messy); check the interface counters (sent/received packets/bytes) in the container