1.yum更新
yum update
使用官方安装脚本自动安装
安装命令如下:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
或者
国内 daocloud 一键安装命令
curl -sSL https://get.daocloud.io/docker | sh
yum update
安装命令如下:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
或者
curl -sSL https://get.daocloud.io/docker | sh