Skip to content

Instantly share code, notes, and snippets.

@saibotsivad
Created August 5, 2016 00:29
Show Gist options
  • Save saibotsivad/07a028ad37c948d15112a1bf15802835 to your computer and use it in GitHub Desktop.
Save saibotsivad/07a028ad37c948d15112a1bf15802835 to your computer and use it in GitHub Desktop.
notes on docker

docker has different drivers so you do like

docker-machine create --driver=DRIVERNAME MACHINENAME

so like there's an ec2 one that'll spool up ec2 machines with docker

docker run --name nuez-db -e MYSQL_USER=nuez-app -e MYSQL_PASSWORD=nuez+1 -e MYSQL_DATABASE=nuez -e MYSQL_ROOT_PASSWORD=root+1 -p 3306:3306 -d nuez-db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment