Docker安装
1:首先安装yum-utils,以便添加 Docker 的源。
yum install -y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
2:安装 Docker
yum install docker-ce docker-ce-cli containerd.io
3:启动 Docker
systemctl start docker
4:查看运行情况
docker ps
5:设置开机自启
systemctl enable docker
6:检测是否安装成功
docker run hello-world
标签:utils,ce,yum,使用,Docker,安装,docker From: https://www.cnblogs.com/wanghong1994/p/17611971.html