Linux centoros7安装doctor:
需要的安装包
yum install -y yum-utils
阿里云镜像(快)
yum-config-manager
–add-repo
http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
更新yum软件包索引
yum makecache fast
安装docker,docker-ce 社区 (ee是企业版)
yum install docker-ce docker-ce-cli containerd.io
启动docker
systemctl start docker
查看启动是否成功
docker version
通过运行hello-world 映像来验证是否正确安装了Docker Engine 。
docker run hello-world
查看hello-world镜像
docker images