Docker:获取容器的kitematic超时
我正在尝试学习docker,因此我从docker的网站安装了正式的docker应用程序,安装后我安装了kitematic。我使用的是windows 10:Docker:获取容器的kitematic超时,docker,kitematic,Docker,Kitematic,我正在尝试学习docker,因此我从docker的网站安装了正式的docker应用程序,安装后我安装了kitematic。我使用的是windows 10: Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 0 Server Version: 19.03.1 Storage Driver: overlay2 Backing Filesystem:
Client:
Debug Mode: false
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 19.03.1
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.184-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952GiB
Name: docker-desktop
ID: VABX:P63L:ONMD:575Z:O4HT:WEZJ:RBNK:VB3G:4DC7:LI7T:YGX6:E4JL
Docker Root Dir: /var/lib/docker
Debug Mode: true
File Descriptors: 29
Goroutines: 44
System Time: 2019-08-21T11:22:46.4753036Z
EventsListeners: 2
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
PS D:\Software\Windows\Docker\Kitematic-Windows>
在运行kitamatic并搜索busybox
并在几秒钟后单击create
后,我发现以下错误:
(HTTP代码500)服务器错误-获取https://registry-1.docker.io/v2/: 拨打192.168.65.1:53上的tcp:lookup registry-1.docker.io:读取udp 192.168.65.3:57485->192.168.65.1:53:i/o超时
要测试,我使用terminal创建了容器:
PS D:\Software\Windows\Docker\Kitematic-Windows> docker run busybox
Unable to find image 'busybox:latest' locally
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: Get https://registry-1.docker.io/v2/library/busybox/manifests/latest: Get https://auth.docker.io/token?account=731364&scope=repository%3Alibrary%2Fbusybox%3Apull&service=registry.docker.io: dial tcp: lookup auth.docker.io on 192.168.65.1:53: read udp 192.168.65.3:53973->192.168.65.1:53: i/o timeout.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
PS D:\Software\Windows\Docker\Kitematic-Windows>
发生了什么?您的计算机正在使用192.168.65.1作为DNS服务器来解析注册表-1.docker.io的IP
在很多地方,建议进入设置并将DNS从自动更改为固定:8.8.8.8这是您设置docker client或network interface的意思吗?@Stefanoit应该在docker client中。无论如何,我也发现这个博客可能很有用:我确信我以前做过这个把戏,但问题仍然存在,但我明天再试一次,我会宣布@StefanoI已更改,但我得到了
(HTTP代码500)服务器错误-获取https://registry-1.docker.io/v2/: 拨打192.168.65.1:53上的tcp:lookup registry-1.docker.io:read udp 192.168.65.3:53856->192.168.65.1:53:i/o timeout
@StefanoIn company我的工作是连接到internet,我们必须使用VPN,所以我想我是因为这个原因出错的!有什么办法可以解决这个问题吗?@Stefano