我的服务器是在内网,是代理上网的。安装的时候报如下错误:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– 0:04:54 –:–:– 0curl: (7) Failed connect to kubernetes.pek3b.qingstor.com:443; Operation now in progress
Job for docker.service invalid.: Failed to exec command: sudo -E /bin/sh -c “if [ -z $(which docker) ] [ ! -e /var/run/docker.sock ]; then curl https://kubernetes.pek3b.qingstor.com/tools/kubekey/docker-install.sh | sh && systemctl enable docker && echo ewogICJsb2ctb3B0cyI6IHsKICAgICJtYXgtc2l6ZSI6ICI1bSIsCiAgICAibWF4LWZpbGUiOiIzIgogIH0sCiAgImV4ZWMtb3B0cyI6IFsibmF0aXZlLmNncm91cGRyaXZlcj1zeXN0ZW1kIl0KfQo= | base64 -d > /etc/docker/daemon.json && systemctl reload docker && systemctl restart docker; fi”
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– 0:04:54 –:–:– 0curl: (7) Failed connect to kubernetes.pek3b.qingstor.com:443; Operation now in progress
Job for docker.service invalid.: Process exited with status 1 node=10.10.3.37
ERRO[09:13:58 CST] Failed to install docker:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– 0:04:54 –:–:– 0curl: (7) Failed connect to kubernetes.pek3b.qingstor.com:443; Operation now in progress
Job for docker.service invalid.: Failed to exec command: sudo -E /bin/sh -c “if [ -z $(which docker) ] [ ! -e /var/run/docker.sock ]; then curl https://kubernetes.pek3b.qingstor.com/tools/kubekey/docker-install.sh | sh && systemctl enable docker && echo ewogICJsb2ctb3B0cyI6IHsKICAgICJtYXgtc2l6ZSI6ICI1bSIsCiAgICAibWF4LWZpbGUiOiIzIgogIH0sCiAgImV4ZWMtb3B0cyI6IFsibmF0aXZlLmNncm91cGRyaXZlcj1zeXN0ZW1kIl0KfQo= | base64 -d > /etc/docker/daemon.json && systemctl reload docker && systemctl restart docker; fi”
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 –:–:– 0:04:54 –:–:– 0curl: (7) Failed connect to kubernetes.pek3b.qingstor.com:443; Operation now in progress
Job for docker.service invalid.: Process exited with status 1 node=10.10.3.36
之前搜到一个说在配置文件中配置一下代理就可以,请问各位大佬,配置文件怎么配置代理。