docker中遇到的一些问题

    xiaoxiao2021-12-14  50

    给docker配置代理服务器

    sudo HTTP_PROXY=http://186.100.4.107:808/ docker pull busybox

    编辑docker的配置文件

    vi /etc/default/docker HTTP_PROXY=http://186.100.4.107:808 http_proxy=$HTTP_PROXY HTTPS_PROXY=$HTTP_PROXY https_proxy=$HTTP_PROXY export HTTP_PROXY HTTPS_PROXY http_proxy https_proxy

    参考:http://blog.csdn.net/halcyonbaby/article/details/39475765

    配置 Docker 加速器 参考:https://www.daocloud.io/mirror#accelerator-doc

    curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://9f82f67c.m.daocloud.io
    转载请注明原文地址: https://ju.6miu.com/read-971450.html

    最新回复(0)