#### 1、文件目录(将文件夹上传至服务器)
```
E:\安装工具\docker\CentOS7离线安装
```
#### 2、批量安装依赖
```
rpm -Uvh *.rpm --nodeps --force
```
#### 3、安装container-selinux
```
rpm -Uvh container-selinux-2.9-4.el7.noarch.rpm
```
#### 4、安装docker
```
rpm -Uvh docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
```
#### 5、启动并检查运行状态
```
systemctl start docker
systemctl status docker
```
1