3 ms·
This is NOT equivalent. The OP was talking about removing unused images. Your commands remove all images.
by e40 10y ago
This is NOT equivalent. The OP was talking about removing unused images. Your commands remove all images.
- lloeki 10y agoMaybe this? docker rm $(docker ps -qa --no-trunc --filter "status=exited") docker rmi $(docker images --filter "dangling=true" -q --no-trunc)