Remove all dangling (not tagged and is not associated with a container) images:
docker image prune
Remove all images which are not used by existing containers
docker image prune -a
Comments
Remove all dangling (not tagged and is not associated with a container) images:
docker image prune
Remove all images which are not used by existing containers
docker image prune -a