docker安装 #安装docker yum install docker-ce #验证安装是否成功(有client和service两部分表示docker安装启动都成功了) docker version #启动并加入开机启动 sudo systemctl start docker sudo systemctl enable docker #运行docker示例 docker run hello-world