Skip to content

Instantly share code, notes, and snippets.

@marclove
Created February 20, 2018 19:23
Show Gist options
  • Save marclove/1830b29a209ce0befeb7ef11e392a45f to your computer and use it in GitHub Desktop.
Save marclove/1830b29a209ce0befeb7ef11e392a45f to your computer and use it in GitHub Desktop.
Docker Clean Rebuild
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rmi -f $(docker images -q)
docker-compose build
docker-compose up -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment