1
0
Fork 0

Feat: pull all tagged images

pull/1646/head
François VANTOMME 6 years ago
parent f6c6f53121
commit 7675100c48

@ -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'

Loading…
Cancel
Save