官术网_书友最值得收藏!

Working with images

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:

$ docker images

The output of the preceding command will be as shown in the following screenshot:


主站蜘蛛池模板: 区。| 涿州市| 富蕴县| 汕头市| 井研县| 东安县| 磐石市| 徐水县| 昌邑市| 泗洪县| 岗巴县| 钦州市| 安义县| 中西区| 呼和浩特市| 科技| 临武县| 奈曼旗| 靖安县| 弥勒县| 临猗县| 松江区| 申扎县| 岢岚县| 株洲市| 盐津县| 太仓市| 罗田县| 凭祥市| 梅河口市| 永兴县| 新宁县| 开平市| 郴州市| 信丰县| 从化市| 芜湖县| 柘城县| 潮州市| 颍上县| 衡阳市|