Created
April 17, 2020 02:56
-
-
Save djravine/25d3e22c823517642e05988fcd7bd078 to your computer and use it in GitHub Desktop.
bash_aliases for Docker
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
# DOCKER - System | |
alias d.df='docker system df' | |
alias d.prune='docker system prune' | |
alias d.info='docker system info' | |
# DOCKER - Shortcuts | |
alias d.att='docker attach' | |
alias d.diff='docker diff' | |
alias d.eb='dexbash' | |
alias d.img='docker images' | |
alias d.ins='docker inspect' | |
alias d.exec='docker exec $@' | |
alias d.logs='docker logs $@' | |
alias d.l='d.logs $@' | |
alias d.ps='docker ps' | |
alias d.rm='docker rm' | |
alias d.rmi='docker rmi' | |
alias d.run='docker run' | |
alias d.start='docker start $@' | |
alias d.stop='docker stop $@' | |
alias d.restart='docker restart $@' | |
alias dc.build='docker-compose build' | |
alias dc.logs='docker-compose logs $@' | |
alias dc.up='docker-compose up' | |
alias dc.down='docker-compose down' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment