When using Docker for a long period, the system accumulates a large number of images. How can I safely delete all useless Docker images at once to clear up space?
In addition, I'd like to delete images that were pulled months ago but have the relevant TAG.
So I'm not just asking for untagged images to be removed. I'm looking for a means to get rid of all of the general unneeded images, which include both untagged and tagged images pulled months ago.