unable to pin image nginx to digest: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout的解决方法
很明显是超时导致的错误,镜像无法下载。通过配置国内镜像源可以解决这个问题。
创建/etc/docker/daemon.json文件
vim /etc/docker/daemon.json
添加国内镜像源
{
  "registry-mirrors": [
    "https://registry.docker-cn.com",
    "http://hub-mirror.c.163.com",
    "https://docker.mirrors.ustc.edu.cn"
  ]
}
重启docker服务
service docker restart

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号