亚洲最大看欧美片,亚洲图揄拍自拍另类图片,欧美精品v国产精品v呦,日本在线精品视频免费

  • 站長資訊網(wǎng)
    最全最豐富的資訊網(wǎng)站

    docker pull centos慢問題的解決方案

    1.現(xiàn)象

    如果直接docker pull CentOS 兩個小時才down下來8M,很慢

    2.解決

    [root@localhost network-scripts]# cd /etc/docker
    [root@localhost docker]# ls
    certs.d  daemon.json  key.json  seccomp.json
    [root@localhost docker]# cat daemon.json
    {}
    [root@localhost docker]# vi daemon.json

    {
    “registry-mirrors”: [“https://mj9kvemk.mirror.aliyuncs.com”]
    }

    重啟docker

    [root@localhost docker]# service docker restart
    Redirecting to /bin/systemctl restart docker.service
    [root@localhost docker]#

    重新拉取,秒秒鐘

    [root@localhost docker]# docker pull centos
    Using default tag: latest
    Trying to pull repository docker.io/library/centos …
    latest: Pulling from docker.io/library/centos
    8ba884070f61: Pull complete
    Digest: sha256:8d487d68857f5bc9595793279b33d082b03713341ddec91054382641d14db861
    Status: Downloaded newer image for docker.io/centos:latest
    [root@localhost docker]#

     3.驗證

    [root@localhost docker]# docker images
    REPOSITORY          TAG                IMAGE ID            CREATED            SIZE
    docker.io/centos    latest              9f38484d220f        10 days ago        202 MB
    [root@localhost docker]#

    贊(0)
    分享到: 更多 (0)
    網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號