Last active
April 27, 2019 15:28
-
-
Save Machy8/3f8a2eca8ba575ad72cbed6181fc3bb1 to your computer and use it in GitHub Desktop.
Aliases for daily work with Docker (you may need to add sudo into "docker-compose")
This file contains 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
alias dsa='docker stop $(docker ps -a -q)' # Docker stop all | |
alias dc='docker-compose' | |
alias dcu='dc up' | |
alias dcuf='dc up --force-recreate' | |
alias dcd='dc down' | |
alias dcs='dc start' | |
alias dcr='dc restart' | |
alias dcst='dc stop' | |
alias dcb='dc build' # Docker compose build | |
alias dil='docker image ls' # Docker image list | |
alias dcl='docker container ls' # Docker container list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment