2017-09-04 9 views
0

새 VM을 생성하고 도커를 설치합니다. 그러나 이미지를 가져올 수 없습니다. 내 VM은 Centos7입니다. 다만이 같은도커가 이미지를 당길 때 x509 오류가 발생했습니다.

:

docker pull hello-world 

이 내 오류 보고서, 나는 "192.168.0.81이"모든 풀 명령이 동일한 보고서를 가지고 모르는

Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: x509: certificate is valid for 192.168.0.81, not index.docker.io 

입니다.

도와주세요. 고맙습니다.

이 내 고정 표시기 정보입니다 :

프록시 뒤에있는 경우
Containers: 0 
Running: 0 
Paused: 0 
Stopped: 0 
Images: 0 
Server Version: 1.12.6 
Storage Driver: devicemapper 
Pool Name: docker-253:0-1552802-pool 
Pool Blocksize: 65.54 kB 
Base Device Size: 10.74 GB 
Backing Filesystem: xfs 
Data file: /dev/loop0 
Metadata file: /dev/loop1 
Data Space Used: 11.8 MB 
Data Space Total: 107.4 GB 
Data Space Available: 16.63 GB 
Metadata Space Used: 581.6 kB 
Metadata Space Total: 2.147 GB 
Metadata Space Available: 2.147 GB 
Thin Pool Minimum Free Space: 10.74 GB 
Udev Sync Supported: true 
Deferred Removal Enabled: false 
Deferred Deletion Enabled: false 
Deferred Deleted Device Count: 0 
Data loop file: /var/lib/docker/devicemapper/devicemapper/data 
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device. 
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata 
Library Version: 1.02.135-RHEL7 (2016-11-16) 
Logging Driver: journald 
Cgroup Driver: systemd 
Plugins: 
Volume: local 
Network: host bridge null overlay 
Swarm: inactive 
Runtimes: docker-runc runc 
Default Runtime: docker-runc 
Security Options: seccomp selinux 
Kernel Version: 3.10.0-514.26.2.el7.x86_64 
Operating System: CentOS Linux 7 (Core) 
OSType: linux 
Architecture: x86_64 
Number of Docker Hooks: 2 
CPUs: 2 
Total Memory: 976.5 MiB 
Name: localhost.localdomain 
ID: ZTET:FNUT:QHKE:TQOP:6XUI:NUWC:GH3D:ZPFM:5CYO:XMYE:BFMV:RQL3 
Docker Root Dir: /var/lib/docker 
Debug Mode (client): false 
Debug Mode (server): false 
Registry: https://index.docker.io/v1/ 
WARNING: IPv4 forwarding is disabled 
WARNING: bridge-nf-call-iptables is disabled 
WARNING: bridge-nf-call-ip6tables is disabled 
Insecure Registries: 
127.0.0.0/8 
Registries: docker.io (secure) 
+2

이것은 MITM 프록시 사용을 나타내며 프록시를 사용하고 있습니까? –

+0

@ TarunLalwani 아니요,하지만 캠퍼스 네트워크를 사용합니다. 이 문제와 관련이 있습니까? – willcream

답변