Mercurial > hg > config
comparison bin/docker_vacuum.sh @ 867:002c1e85ff30
prune docker volumes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 18 Jul 2018 11:18:32 -0700 |
parents | 909f72bd6cb3 |
children |
comparison
equal
deleted
inserted
replaced
866:909f72bd6cb3 | 867:002c1e85ff30 |
---|---|
11 # Remove unwanted 'dangling' images | 11 # Remove unwanted 'dangling' images |
12 docker rmi $(docker images -f "dangling=true" -q) | 12 docker rmi $(docker images -f "dangling=true" -q) |
13 | 13 |
14 # Remove unwanted volumes | 14 # Remove unwanted volumes |
15 docker volume rm $(docker volume ls -qf dangling=true) | 15 docker volume rm $(docker volume ls -qf dangling=true) |
16 docker volume prune -f |