大挪耗

openwrt docker iptables设置

方法1:

在/etc/dockerd的文件

{ "data-root": "\/mnt\/sdb1\/dockerData\/", "log-level": "warn", "iptables": true, "ip6tables": false }

“iptables”: false 就不会使用iptables了。但是现在dockerman默认是上面的配置在用iptables。
默默等待大佬更新。

方法2:

或者把/etc/config/dockerd 的option iptables ‘1’改成option iptables ‘0’


config globals 'globals'
	option data_root '/mnt/sdb1/dockerData/'
	option log_level 'warn'
	option iptables '0'
	option auto_start '1'

config proxies 'proxies'

config dockerman 'dockerman'
	option socket_path '/var/run/docker.sock'
	option status_path '/tmp/.docker_action_status'
	option debug 'false'
	option debug_path '/tmp/.docker_debug'
	option remote_endpoint '0'
	list ac_allowed_interface 'br-lan'

已发布

分类

可以收藏大挪耗一下。下载麻烦点城通网盘,站长保证下载速度,不会限速的,放心点就是了;分卷,安卓下载为txt:程序下载为url,不会下载参考不会下载。如果你想让本站活的久一点,请直接捐助

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注