标签:root roo registry ali bsp tps style com 国内
WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disabled
开启iptables对bridge的数据进行处理
cat > /etc/sysctl.d/docker.conf <<-‘EOF‘
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOF
systctl --system
sysctl -p
cat >/etc/docker/daemon.json <<-‘EOF‘
{
"registry-mirrors": ["https://jnxt8d8b.mirror.aliyuncs.com"]
}
EOF
注意:aliyuncs.com是阿里的经典网路形式,可以在公网解析,给力阿里云!!!
systemctl daemon-reload && systemctl restart docker
[root@beng ~]# docker info |grep -i mirror
Registry Mirrors:
https://jnxt8d8b.mirror.aliyuncs.com/
标签:root roo registry ali bsp tps style com 国内
原文地址:https://www.cnblogs.com/xiaochina/p/11689425.html