参考文档
https://docs.docker.com/engine/install/centos/
1、安装最新版本的Docker Engine和容器
yum install docker-ce docker-ce-cli containerd.io
2、启动
systemctl start docker
3、通过运行hello-world映像来验证是否正确安装了Docker Engine
docker run hello-world
https://docs.docker.com/engine/install/centos/
1、安装最新版本的Docker Engine和容器
yum install docker-ce docker-ce-cli containerd.io
2、启动
systemctl start docker
3、通过运行hello-world映像来验证是否正确安装了Docker Engine
docker run hello-world
让时间为你证明