I created a local docker registry and then pull some of my docker images from docker hub and then push them to the local registry. Now I want to remove my local images. But the
There are multiple ways you can delete.
a) delete only one:
$ sudo docker rmi login(REPOSITORY NAME):latest(TAG NAME)
b) delete all with matching id with -f command:
-f
$ sudo docker rmi -f 91dfd8adbf04(IMAGE ID)