【发布时间】:2018-03-16 02:06:00
【问题描述】:
我倾向于使用主机 iptables 限制与我的 Docker 守护程序的连接
https://docs.docker.com/network/iptables/#restrict-connections-to-the-docker-daemon
给出的例子是
$ iptables -I DOCKER-USER -i ext_if ! -s 192.168.1.1 -j DROP
我在想,ext_if 的值应该是多少,以及如何计算出ext_if 的值?
【问题讨论】: