Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Docker installation

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Docker installation: docker Community version docker-ce installation, via yum installation

1. Download yum library files: generally, you have used the domestic mirror website installation:

Such as: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

2. Yum install-y docker

3. Configure accelerator:

Select the available image acceleration address. Here, use the official address of docker:

Https://registry.docker-cn.com

Mkdir / etc/docker

Vim / etc/docker/daemon.json

Write:

{

"registry-mirrors": ["https://registry.docker-cn.com"]"

}

Aliyun Image acceleration: application

Systemctl daemon-reload systemctl restart docker

4. Start docker:systemctl start docker.service

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report