@mrarvin 已经设置了代理 还是不行 没有用国内源 latest: Pulling from library/redis 2cc3ae149d28: Retrying in 1 second 916a4f350e12: Retrying in 1 second b41a54a9a617: Retrying in 1 second a32d5b47cfbb: Waiting 8b29e70f14b1: Waiting a8e51fa2ab60: Waiting 4f4fb700ef54: Waiting 9fe463190b6a: Waiting error pulling image configuration: download failed after attempts=6: dial tcp 69.171.229.11:443: i/o timeout
systemd, 命令行环境变量配置代理没用, [docker]20$ cat proxy.conf [Service] Environment="HTTP_PROXY=http://proxyhost:1081/" Environment="HTTPS_PROXY=http://proxyhost:1081/" Environment="NO_PROXY=localhost,127.0.0.1" [docker]21$ cat deploy.sh #!/bin/bash set -e pwd=$(dirname $0) cd $pwd sudo mkdir -p /etc/systemd/system/docker.service.d/ sudo cp proxy.conf /etc/systemd/system/docker.service.d/ sudo systemctl daemon-reload [docker]22$