5.2 Removing Images from Local Copy of Docker Registry

You may want to remove all images from the local copy of the Docker registry. To remove all images, run:

$ sudo docker rmi -f $(docker images -q)