【Docker】error pulling image configuration: download failed after attempts=6: dial tc

问题:在学习Docker的时候遇到pull失败的情况

 

解决方法:

sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://yxzrazem.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

解决结果:

【Docker】error pulling image configuration: download failed after attempts=6: dial tc_第1张图片

 

你可能感兴趣的:(docker,运维,容器)