查看当前系统版本:
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
1. 保证yum 是最新的;可以根据 yum update 更新;
2. 通过 yum -y install docker 进行安装;
3. 通过 systemctl start docker.service 或者 service docker start 进行启动
查看当前docker版本
[root@localhost ~]# docker -v
Docker version 1.13.1, build 0be3e21/1.13.1
4.https://hub.docker.com/explore/ 到这个网站,搜索 hello 进行下载 images;进行测试;
5.下载下来 docker images 查看本地镜像;