1、安装docker
yum -y install docker
2、关闭防火墙和selinux
操作步骤见:https://www.cnblogs.com/snooker/p/9223097.html
3、启动docker
systemctl start docker
4、测试hello-world
docker run hello-world
运行结果如下图所示:
1、安装docker
yum -y install docker
2、关闭防火墙和selinux
操作步骤见:https://www.cnblogs.com/snooker/p/9223097.html
3、启动docker
systemctl start docker
4、测试hello-world
docker run hello-world
运行结果如下图所示: