Skip to content

Instantly share code, notes, and snippets.

@springcoil
Created July 9, 2016 17:38
Show Gist options
  • Save springcoil/bf9236ae41811855236995fdafd93a09 to your computer and use it in GitHub Desktop.
Save springcoil/bf9236ae41811855236995fdafd93a09 to your computer and use it in GitHub Desktop.
A very useful bash script for running Docker containers on AWS
docker-machine create \
--driver amazonec2 \
--amazonec2-access-key LOL \
--amazonec2-secret-key CATS \
--amazonec2-vpc-id vpc \
--amazonec2-security-group security-group \
--amazonec2-instance-type "m4.2xlarge" \
--amazonec2-root-size 20 \
--amazonec2-request-spot-instance \
--amazonec2-spot-price 0.20 \
analysis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment