如何在linux下配置Docker使用阿里云aliyun的镜像
作者:
LoWang | 来源:发表于
2017-01-25 17:14 被阅读0次
Ubuntu
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo tee /etc/systemd/system/docker.service.d/mirror.conf <<-'EOF'
[Service]
ExecStart=
ExecStart=/usr/bin/docker daemon -H fd:// --registry-mirror=https://xxxxx.mirror.aliyuncs.com
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
Windows 10
{
"registry-mirrors": [
"https://vyicveys.mirror.aliyuncs.com"
],
"insecure-registries": [
"192.168.1.13:5000"
],
"experimental": true
}
本文标题:如何在linux下配置Docker使用阿里云aliyun的镜像
本文链接:https://www.haomeiwen.com/subject/kaotittx.html
网友评论