3 ms·
You can also do this: docker rmi $(docker images -q -f dangling=true You might consider doing the same with volumes: docker volume rm $(docker volume
by xahrepap 10y ago
You can also do this:
docker rmi $(docker images -q -f dangling=true
You might consider doing the same with volumes:
docker volume rm $(docker volume ls -q -f dangling=true)
But be careful with the volume one. I'd read the documentation around volumes first and see if you're deleting what you want to. :)