简体   繁体   English

Docker机器创建失败

[英]Docker-Machine creation failing

I am trying to create a docker-machine in my windows 10 Enterprise machine. 我正在尝试在Windows 10企业版计算机中创建一个docker-machine。 I am creating using driver hyperv but the machine creation is failing with error Error creating machine: Error detecting OS: OS type not recognized 我正在使用驱动程序hyperv创建,但是计算机创建失败并显示错误创建计算机错误:检测操作系统错误:无法识别操作系统类型

>>docker-machine create --driver hyperv loc-machine1

在此处输入图片说明

I can see the loc-machine1 under docker-machine ls But while trying to communicate from local client docker-machine env loc-machine1 ,its throwing error 我可以在docker-machine ls下看到loc-machine1但是在尝试与本地客户端docker-machine env loc-machine1通信时 ,它抛出了错误

Error checking TLS connection: Error checking and/or regenerating the certs: 
There was an error validating certificates for host " 
[fe80::215:5dff:fe17:100c]:2376": dial tcp [fe80::215:5dff:fe17:100c]:2376: 
connectex: A socket operation was attempted to an unreachable network.
You can attempt to regenerate them using 'docker-machine regenerate-certs 
[name]'.
Be advised that this will trigger a Docker daemon restart which might stop 
running containers.

Tried regenerate-certs but its not working. 尝试过regenerate-certs,但无法正常工作。

Docker version :- 17.03.1-ce Docker版本:-17.03.1-ce

As described in docker troubleshooting documentation , you can try : Docker故障排除文档中所述 ,您可以尝试:

  • Regenerate certificates then restart docker host. 重新生成证书,然后重新启动Docker主机。

or 要么

  • Create a new docker-machine 创建一个新的docker-machine

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM