Docker机器创建失败

时间:2019-03-18 09:41:11

标签: docker installation

我正在尝试在Windows 10企业版计算机中创建一个docker-machine。 我正在使用驱动程序 hyperv 创建,但是计算机创建失败,并出现错误计算机创建错误:检测操作系统错误:无法识别操作系统类型

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

enter image description here

我可以在 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.

尝试了重新生成证书,但无法正常工作。

Docker版本:-17.03.1-ce

1 个答案:

答案 0 :(得分:0)

docker troubleshooting documentation中所述,您可以尝试:

  • 重新生成证书,然后重新启动Docker主机。

  • 创建一个新的docker-machine