WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disabled
開啓iptables對bridge的數據進行處理docker
cat > /etc/sysctl.d/docker.conf <<-'EOF'
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
EOFjson
systctl --system阿里雲
sysctl -pspa
cat >/etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://jnxt8d8b.mirror.aliyuncs.com"]
}
EOFrest
注意:aliyuncs.com是阿里的經典網路形式,能夠在公網解析,給力阿里雲!!!code
systemctl daemon-reload && systemctl restart dockerblog
[root@beng ~]# docker info |grep -i mirror
Registry Mirrors:
https://jnxt8d8b.mirror.aliyuncs.com/ip