mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00
updated docker-clean command
thanks to @bebehei
This commit is contained in:
parent
4e260be6f8
commit
c43869f41c
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ case "$1" in
|
|||
$0 pacman
|
||||
;;
|
||||
docker)
|
||||
docker container ls --filter status=exited --format '{{.ID}}' | xargs -r docker container rm
|
||||
docker image ls --filter dangling=true --format='{{.ID}}' | xargs -r docker image rm
|
||||
docker container prune --force
|
||||
docker image prune --force
|
||||
;;
|
||||
pacman)
|
||||
pacman -Scc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue