【发布时间】:2017-12-16 07:43:53
【问题描述】:
当尝试使用 Ubuntu 16.04 AMI ami-835b4efa 在 EC2 上创建 VM 时,我看到以下内容:
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(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
如果我使用带有 AMI ami-fc4f5e85 的 Ubuntu 14.04 创建 VM,这个问题就会消失。我过去看到过这种情况,并认为这只是侥幸。今天重复发生的次数已经够多了,我认为这里有问题。关于为什么上述问题在 Ubuntu 16.04 上失败的任何想法?我现在可以使用 14.04,但想在不久的将来升级并仍然使用 Docker Machine 来管理我的虚拟机。
我今天下载了适用于 OSX 的最新版本的 Docker Toolbox,以解决可能存在的问题。
【问题讨论】:
标签: amazon-web-services ubuntu docker amazon-ec2 docker-machine