Last active
September 4, 2017 20:47
-
-
Save get-data-/188913633232d670144274fb32f90434 to your computer and use it in GitHub Desktop.
Helpful CLI commands
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-compose rm -f | |
docker rmi -f $(docker images -qf dangling=true) | |
# Volumes | |
docker volume ls -f dangling=true | |
docker volume rm $(docker volume ls -f dangling=true -q) | |
# Compose in PROD | |
docker-compose -f docker-compose.yml -f production.yml up -d | |
https://www.atlassian.com/git/tutorials/making-a-pull-request |
docker-compose logs --no-color >& logs.txt
docker-compose logs --no-color |& tee logs.txt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker-compose -f docker-compose.yml -f docker-compose.staging.yml up -d