docker使用阿里云加速器
1 登錄阿里云獲得地址
登錄https://cr.console.aliyun.com ,點(diǎn)擊"鏡像加速器",會(huì)給我一個(gè)地址.
2 寫入/etc/docker/daemon.json
把"registry-mirrors": ["https://********.mirror.aliyuncs.com"]
這個(gè)字段寫入/etc/docker/daemon.json中
3 重啟docker
執(zhí)行
systemctl daemon-reload
systemctl restart docker