docker rmi $(docker images -f dangling=true -q )
Removing the double quotes from the dangling options solves the problem
Share and learn in the Docker community.
docker rmi $(docker images -f dangling=true -q )
Removing the double quotes from the dangling options solves the problem