$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Solving Ec2 Docker-machine Create Unable to Find A Subnet

April 24, 2017 | By the+gnu+linux+evangelist.

Ec2 docker-machine create unable to find a subnet Solution

This Docker Machine Tip Presents a Troubleshooting for AWS Ec2 Docker Machine create Command Issue ‘unable to find a subnet’.

Docker Machine is a tool that lets you Install Docker Engine on Virtual Hosts, and manage the hosts with docker-machine commands. you can use Machine to create Docker hosts on your local Mac or Windows box, on your company network, in your data center, or on cloud providers like AWS or Digital Ocean.

Solving Ec2 docker-machine create unable to find a subnet - Featured

For a Zone different from ‘a’ you Must specify also Zone parameter like for example:

--amazonec2-zone b

Or otherwise Create a Subnet in Ec2 Console:

Solving Ec2 docker-machine create unable to find a subnet - Ec2 Subnets

To See the Subnets: Search for ‘VPC’ or Select Default VPC on Higher-Right of AWS Console.

Then the docker-machine Command for an ‘Us West 1a’ VM Should be like:

docker-machine create --driver amazonec2 
--amazonec2-access-key [yourAccssKeyId] 
--amazonec2-secret-key [yourSecretKey] 
--amazonec2-region  us-west-1 
--amazonec2-zone a /nec2-sandbox-1404-1