Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created February 7, 2016 00:05
Show Gist options
  • Save leandromoreira/cd59e3ffd40e871e2ade to your computer and use it in GitHub Desktop.
Save leandromoreira/cd59e3ffd40e871e2ade to your computer and use it in GitHub Desktop.
# creating an amazon machine
docker-machine create --driver amazonec2 --amazonec2-access-key XXX --amazonec2-secret-key "xxxxx" --amazonec2-vpc-id vpc-xxx --amazonec2-zone Y amazon
# creating a digital ocean machine
docker-machine create --driver digitalocean --digitalocean-access-token=XXX do
# let's take note of our ip
docker-machine ip amazon
# let's deploy our application
docker-machine up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment