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

  • 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:


主站蜘蛛池模板: 中西区| 合肥市| 宜宾县| 峨眉山市| 襄汾县| 赤壁市| 莱芜市| 卓尼县| 汉寿县| 诸城市| 平邑县| 柳林县| 磐石市| 察哈| 银川市| 平潭县| 稷山县| 旅游| 黄平县| 从江县| 白玉县| 阳信县| 宾川县| 舞钢市| 涞水县| 随州市| 日土县| 汾阳市| 离岛区| 泸西县| 河源市| 台州市| 睢宁县| 大渡口区| 安塞县| 山丹县| 中卫市| 来安县| 连江县| 长岛县| 江西省|