I’m trying to set up docker host on AWS with docker machine. Docker-machine is 0.6. The command is the following:
docker-machine create -d amazonec2 --amazonec2-region=eu-west-1 --amazonec2-vpc-id=vpc-c3c9c7a6 --amazonec2-subnet-id=subnet-d18474b5 --amazonec2-security-group=DockerSwarm --amazonec2-use-private-address AwsTestMachine1
the output is the following :
Running pre-create checks... Creating machine... (keystore) Launching instance... 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... 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 "10.0.1.35:2376": dial tcp 10.0.1.35:2376: i/o timeout You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'. Be advised that this will trigger a Docker daemon restart which will stop running containers. ``` I can ssh on the machine with `docker-machine ssh AwsTestMachine1`. docker works well on the machine created. I tried to regenerate the certificate (which is working). Is there any magical AWS args that I am missing here. In advance thanks.