docker rmi
docker rmi <image>
Risk: Careful
What it does
Removes an image name, and the image when no name is left.
When to use it
To free space. You can pull it again later.
Example
$ docker rmi diary:1.0Remove diary:1.0.
Learn it in: Clean up safely · Official docs