3 ms·
Clean docker images: docker rmi $(docker images -f dangling=true -q --no-trunc)
by okket 10y ago
Clean docker images:
docker rmi $(docker images -f dangling=true -q --no-trunc)
- justincormack 10y agoDocker 1.13 is shipping with cleanup commands built in.
- anshargal 10y agoJust saw you comment and googled for details: https://github.com/docker/docker/pull/26108 https://github.com/docker/docker/pull/26108
- justin_oaks 10y agoDangling images are just those that are not tagged. That happens if you create a new image and tag it with an already existing tag (e.g. latest). This command won't help you clean up disk space if you build/pull images each with their own unique tags.