|
|
@ -127,12 +127,16 @@ alias dkW='docker swarm'
|
|
|
|
## CleanUp (rm)
|
|
|
|
## CleanUp (rm)
|
|
|
|
# Clean up exited containers (docker < 1.13)
|
|
|
|
# Clean up exited containers (docker < 1.13)
|
|
|
|
alias dkrmC='docker rm $(docker ps -qaf status=exited)'
|
|
|
|
alias dkrmC='docker rm $(docker ps -qaf status=exited)'
|
|
|
|
|
|
|
|
|
|
|
|
# Clean up dangling images (docker < 1.13)
|
|
|
|
# Clean up dangling images (docker < 1.13)
|
|
|
|
alias dkrmI='docker rmi $(docker images -qf dangling=true)'
|
|
|
|
alias dkrmI='docker rmi $(docker images -qf dangling=true)'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Pull all tagged images
|
|
|
|
|
|
|
|
alias dkplI='docker images --format "{{ .Repository }}" | grep -v "^<none>$" | xargs -L1 docker pull'
|
|
|
|
|
|
|
|
|
|
|
|
# Clean up dangling volumes (docker < 1.13)
|
|
|
|
# Clean up dangling volumes (docker < 1.13)
|
|
|
|
alias dkrmV='docker volume rm $(docker volume ls -qf dangling=true)'
|
|
|
|
alias dkrmV='docker volume rm $(docker volume ls -qf dangling=true)'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Docker Machine (m)
|
|
|
|
# Docker Machine (m)
|
|
|
|
alias dkm='docker-machine'
|
|
|
|
alias dkm='docker-machine'
|
|
|
|
alias dkma='docker-machine active'
|
|
|
|
alias dkma='docker-machine active'
|
|
|
|