Hi,
I’m trying to add an existing amazon instance to docker-compose but when I run the docker-machine:
docker-machine create -d generic --generic-ip-address=10.0.0.126 --generic-ssh-key key_rhel.pem --generic-ssh-user ec2-user test6
Running pre-create checks…
Creating machine…
(test6) 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…
Detecting the provisioner…
Error creating machine: Error detecting OS: OS type not recognized
and when I check the os-release:
cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2016.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.03"
PRETTY_NAME="Amazon Linux AMI 2016.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.03:ga"
HOME_URL=“http://aws.amazon.com/amazon-linux-ami/”
Is there an existing fix for this?
Thanks