Prune

Prunes containers that do not have a reference

docker image prune

To prune all old images not used by existing containers

run it with the -a flag:

docker image prune -a

Backlinks