Skip to content

Instantly share code, notes, and snippets.

@libert-xyz
Created November 11, 2016 04:39
Show Gist options
  • Select an option

  • Save libert-xyz/043b850b15fcf92d2188357261b5a304 to your computer and use it in GitHub Desktop.

Select an option

Save libert-xyz/043b850b15fcf92d2188357261b5a304 to your computer and use it in GitHub Desktop.
docker-machine create --driver amazonec2 --amazonec2-instance-type "t2.micro" --amazonec2-region "us-east-1" --amazonec2-security-group "myNetwork" --amazonec2-subnet-id "subnet-006b5859" --amazonec2-vpc-id "vpc-9611cef2" docker-test
docker-machine ls
docker-machine env docker-test
# Run this command to configure your shell:
# eval $(docker-machine env docker-test)
docker-compose -f prod.yml up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment