Created
August 9, 2017 22:09
-
-
Save leighghunt/19b1cfaf79557026b3c49f3167597940 to your computer and use it in GitHub Desktop.
docker-pull-and-start.sh
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
| #!/bin/bash | |
| curl -sSL https://gist.githubusercontent.com/leighghunt/f0539df3a2c20abbdd102228c0b24c36/raw > docker-compose.yml | |
| docker-compose stop; docker-compose rm -f; docker-compose pull; docker-compose up -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment