方法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'
发表回复