Created
December 18, 2018 19:32
-
-
Save bluemanos/405d2ebb439b00f01cc14a4725317e2e to your computer and use it in GitHub Desktop.
Docker bash aliases
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 | |
alias docker-rm='docker rm $(docker ps -aq)' | |
alias docker-rmi='docker rmi $(docker images -q)' | |
alias docker-stop='docker stop $(docker ps -a -q)' | |
alias docker-ssh='docker-compose exec php bash' | |
alias docker-start='docker-compose up -d' | |
alias docker-ss='docker-stop && docker-start && docker-ssh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment