标签:map 官方 app docker-ce ref service acl tail mamicode
https://docs.docker.com/install/linux/docker-ce/centos/
https://qizhanming.com/blog/2019/01/25/how-to-install-docker-ce-on-centos-7
https://www.alibabacloud.com/help/zh/doc-detail/60742.htm
# step 1: 安装必要的一些系统工具
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
# Step 2: 添加软件源信息
sudo yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
# Step 3: 更新并安装Docker-CE
sudo yum makecache fast
sudo yum -y install docker-ce
# Step 4: 添加开机启动
sudo systemctl enable docker
# Step 5: 开启Docker服务
sudo service docker start
# Step 6: 测试是否可用
sudo docker run hello-world
标签:map 官方 app docker-ce ref service acl tail mamicode
原文地址:https://www.cnblogs.com/jtfr/p/11153070.html