Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker bash aliases
#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
You can’t perform that action at this time.