Deleting <none> containers

I’m running a local repository!

I tried, docker rmi $(docker images -f dangling=true -q)

but get the following error

Error response from daemon: conflict: unable to delete 96105c60fe82 (must be forced) - image is referenced in one or more repositories

Not sure how to clean this up; suggestions welcome.

in that cases you just should add --force.