[root@docker ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest d1165f221234 5 months ago 13.3kB
centos centos8 300e315adb2f 8 months ago 209MB
文章目录前言一、拉取centos8镜像二、运行容器总结前言本次使用docker直接拉取centos8镜像并运行,然后进行ssh链接一、拉取centos8镜像[root@docker ~]# docker pull centos:centos8查看拉取的镜像:[root@docker ~]# docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEhello-world latest d11.