July 2018
Intermediate to advanced
504 pages
11h 34m
English
Now we want to check the images available on our local server. To do this, we can use the docker images command:
$ docker images
The output of the preceding command will be as shown in the following screenshot:

If we downloaded a wrong image, we can always delete it from the local server by using the docker rmi command: ReMove Image (RMI). In our case, we have two versions of the same image, so we can specify a tag for the image we want to delete:
$ docker rmi httpd:2.2.29
The output of the preceding command will be as shown in the following screenshot:
At this point, we have only one image left, which is httpd:latest ...