Ricky

链接

RSS

RSS Link
root用户登录DSM
CentOS配置Docker用direct-lvm

CentOS使用国内源并安装Docker

Ricky posted @ 2017年11月07日 11:07 in Other , 1648 阅读

使用阿里源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

yum makecache

 

安装Docker CE

# 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: 开启Docker服务
sudo service docker start
 
使用国内Docker镜像
 
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://your_docker_image_server"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

 

Avatar_small
Bangalore Escorts 说:
2021年11月03日 14:48

We are truly grateful for your blog section. You will track down a colossal heap of approaches in the wake of visiting your post. Amazing work

Avatar_small
pavzi.com 说:
2024年1月21日 19:48

Pavzi.com provides all the news about Gadgets, the Economy, Technology, Business, Finance and many more. The main concept or our aim behind this website has been the will to provide resources with full information on each topic which can be accessed through the Internet. To ensure that every reader gets what is important and worthy about the topic they search and link to hear from us. pavzi.com Our site is a multiple Niche or category website which will ensure to provide information and resources on each and every topic. Some of the evergreen topics you will see on our website are Career, Job Recruitment, Educational, Technology, Reviews and others. We are targeting mostly so it is true that Tech, Finance, and Product Reviews. The only reason we have started this website is to make this site the need for your daily search use.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter