docker-machine AWS无法创建计算机错误检查和/或重新生成证书

时间:2017-06-30 18:27:56

标签: docker amazon-ec2 docker-machine

突然之间,我无法在AWS上使用docker machine创建新机器。我可以很好地连接旧机器,但在尝试创建新机器时,我得到了这个输出:

Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Detecting the provisioner... Provisioning with ubuntu(upstart)... Installing Docker... Copying certs to the local machine directory... Copying certs to the remote machine... Setting Docker configuration on the remote daemon... Checking connection to Docker... Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "x.x.155.174:2376": read tcp x.x.x.x:xxxxx->x.x.155.174:2376: read: connection reset by peer 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.

我正在使用此AMI ami-5e63d13e

任何人都有解决方法吗?被困了几个小时

1 个答案:

答案 0 :(得分:0)

这是Docker中的一个错误,已修复最新版本(0.12.1):https://github.com/docker/machine/issues/4156