2017-09-04 12 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

答えて

関連する問題