-
安装
yum-utils
:
yum install -y yum-utils device-mapper-persistent-data lvm2
-
为yum源添加docker仓库位置:
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
-
安装docker:
yum install docker-ce
-
启动docker:
systemctl start docker
-
查看docker状态:
systemctl status docker
标签:utils,环境,ce,repo,yum,Docker,安装,docker From: https://www.cnblogs.com/shaun88/p/17516097.html