镜像加速
/etc/docker/daemon.json

没有这个文件 创建这个文件
vi /etc/docker/daemon.json
按 i 进行插入
{
"registry-mirrors":["http://docker.mirrors.ustc.edu.cn"] # 注册镜像源
}
1. systemctl status docker 查看docker 状态

2. systemctl restart docker 重启docker

3. systemctl enable docker 将docker 设为开机状态

本文来自博客园,作者:depressiom,转载请注明原文链接:https://www.cnblogs.com/depressiom/p/15987696.html
浙公网安备 33010602011771号