For the those nervous at the command line and using Windows or MacOS, launch Docker Desktop
. Look at Images
. That will show you a list of all the images including their status. The status Unused (dangling)
is probably all you want to get rid of. Just select and delete.
Why would I recommend the GUI approach? Because docker prune
"remove's all unused containers, networks, images (both dangling and unreferenced), and optionally, volumes." and that isn't necessarily what you want esp. when you're new at this. For example, Unused
means Not Currently In Use At the Moment
and not no longer useful
or not ever going to be used again
as you might expect when you're starting with Docker.