Created
May 20, 2015 05:47
-
-
Save jacoelho/f794f9a7ebc35bce29b6 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