Skip to content

Instantly share code, notes, and snippets.

@EloB
Created December 23, 2015 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save EloB/123cae096cddd9c1712e to your computer and use it in GitHub Desktop.
Save EloB/123cae096cddd9c1712e to your computer and use it in GitHub Desktop.
Docker compose yml hello world example
helloworld:
image: ubuntu:14.04
command: /bin/echo 'Hello world'
@EloB
Copy link
Author

EloB commented Dec 23, 2015

brew install docker docker-compose
docker-machine create --driver virtualbox --virtualbox-cpu-count 2 dev
eval $(docker-machine env dev)
curl https://gist.githubusercontent.com/EloB/123cae096cddd9c1712e/raw > docker-compose.yml
docker-compose up -d

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