Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29413

'Waiting for SSH to be available' during creation of a generic docker machine with amazon aws

$
0
0

I'm trying to use docker-machine with my docker instance hosted on amazon aws.

I run the following command:

$ sudo docker-machine create --driver generic --generic-ip-address={EC2 IP} --generic-ssh-key ~/.ssh/id_rsa dockerawsRunning pre-create checks...Creating machine...(dockering) Importing SSH key...Waiting for machine to be running, this may take a few minutes...Detecting operating system of created instance...Waiting for SSH to be available...Error creating machine: Error detecting OS: Too many retries waiting for SSH to be available.  Last error: Maximum number of retries (60) exceeded

But It stucks on 'Waiting for SSH to be available...' and I don't know why.

I've also opened the ports '22' and '2376' but it's still not working.

For my instance I'm using the template stated on the docker page here ->https://docs.docker.com/docker-for-aws/


Viewing all articles
Browse latest Browse all 29413

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>