Created
May 20, 2015 05:49
-
-
Save jacoelho/c31a0239ad7036a977d1 to your computer and use it in GitHub Desktop.
docker-example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull postgres:latest | |
docker run -d --name db postgres:latest | |
docker build -t web . | |
docker run -d --name web -p 8000:8000 --link=db:db web:latest python app.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment