Docker镜像加速配置
一、docker镜像加速配置
# tee /etc/docker/daemon.json <<'EOF'
{
"registry-mirrors": ["https://tjshptqn.mirror.aliyuncs.com"]
}
EOF
二、重启docker服务
systemctl daemon-reload && systemctl restart docker
# tee /etc/docker/daemon.json <<'EOF'
{
"registry-mirrors": ["https://tjshptqn.mirror.aliyuncs.com"]
}
EOF
systemctl daemon-reload && systemctl restart docker