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

  • Learn OpenShift
  • Denis Zuev Artemii Kropachev Aleksey Usov
  • 143字
  • 2021-08-13 16:03:45

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:


主站蜘蛛池模板: 祁连县| 简阳市| 子长县| 佛山市| 东宁县| 峨眉山市| 郓城县| 柏乡县| 侯马市| 鄂尔多斯市| 休宁县| 驻马店市| 新津县| 郴州市| 文昌市| 和政县| 新巴尔虎右旗| 白玉县| 吴川市| 仪陇县| 东乡县| 新巴尔虎右旗| 昌平区| 华亭县| 高州市| 合水县| 松原市| 玛曲县| 荆门市| 定西市| 正蓝旗| 河西区| 赣榆县| 扶沟县| 新营市| 沾化县| 元氏县| 兴安县| 新昌县| 璧山县| 凤城市|