This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
packages:docker [2016-06-18 10:39] glen add addgroup notice |
packages:docker [2017-07-18 15:35] glen docker 1.13 prune commands |
||
---|---|---|---|
Line 61: | Line 61: | ||
<code> | <code> | ||
docker images --filter dangling=true | docker images --filter dangling=true | ||
- | docker rmi $(docker images --filter dangling=true --quiet) | + | docker images --filter dangling=true --quiet | xargs -r docker rmi |
</code> | </code> | ||
Line 71: | Line 71: | ||
For Docker < 1.9, see [[https://github.com/chadoe/docker-cleanup-volumes|docker-cleanup-volumes]] tool. | For Docker < 1.9, see [[https://github.com/chadoe/docker-cleanup-volumes|docker-cleanup-volumes]] tool. | ||
+ | |||
+ | For Docker >= 1.13 use ''docker {container,image,volume,network} prune'' subcommands. | ||
===== PLD Base image ===== | ===== PLD Base image ===== | ||