Docker 别名

@bingoogolapple 2017-01-25 02:08:34发表于 bingoogolapple/bingoogolapple.github.io Docker

alias stopAllContainer='docker stop $(docker ps -aq)'
alias rmAllContainer='docker rm -v $(docker ps -aq)'
alias rmAllVolume='docker volume rm $(docker volume ls -q)'
alias stopAndRmAllContainer='stopAllContainer && rmAllContainer'