(cannot be forced) - image has dependent child images code example
Example: image has dependent child images
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
docker rmi $(docker images --filter "dangling=true" -q --no-trunc)