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

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:


主站蜘蛛池模板: 乌兰察布市| 牙克石市| 武邑县| 石景山区| 驻马店市| 中方县| 青海省| 米林县| 华坪县| 日喀则市| 卓尼县| 昭平县| 瑞金市| 广灵县| 前郭尔| 江津市| 泉州市| 台中市| 龙山县| 离岛区| 淄博市| 永登县| 察隅县| 澜沧| 大悟县| 塔河县| 云浮市| 连山| 繁峙县| 大渡口区| 建平县| 潜江市| 梁河县| 庆城县| 农安县| 华安县| 永和县| 梁山县| 新安县| 龙泉市| 衡阳县|