Skip to content

Instantly share code, notes, and snippets.

@leighghunt
Created August 9, 2017 22:09
Show Gist options
  • Select an option

  • Save leighghunt/19b1cfaf79557026b3c49f3167597940 to your computer and use it in GitHub Desktop.

Select an option

Save leighghunt/19b1cfaf79557026b3c49f3167597940 to your computer and use it in GitHub Desktop.
docker-pull-and-start.sh
#!/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