Blogger Information
Blog 29
fans 0
comment 0
visits 23969
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
CentOS 7安装docker-ce(yum安装)
easy
Original
598 people have browsed it

一、参考链接

阿里巴巴开源镜像站-OPSX镜像站-阿里云开发者社区 (aliyun.com)

Docker CE 镜像

CentOS 7安装docker-ce

1先安装必要系统工具

sudo yum install -y yum-utils device-mapper-persistent-data lvm2

添加阿里的源

sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
sudo sed -i 's+download.docker.com+mirrors.aliyun.com/docker-ce+' /etc/yum.repos.d/docker-ce.repo

安装

sudo yum makecache fast
sudo yum -y install docker-ce

 

 

开启docker

sudo service docker start

检查版本

docker version

 

 

 

 



Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post