Simon@Simon_mi MINGW64 /c/Program Files/Docker Toolbox
$ docker run --name jenkins -p 8080:8080 -v /var/jenkins_home jenkins/jenkins:lts
Unable to find image 'jenkins/jenkins:lts' locally
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.0.2.3:53: read udp 10.0.2.15:58049->10.0.2.3:53: i/o timeout.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.

解决方案

配置 8.8.8.8

在这里插入图片描述

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐