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

How to install Docker in Liunx system

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article introduces how to install Docker in Liunx system. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.

I. yum settings Aliyun mirror sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo II. Install dependency package sudo yum install -y yum-utils device-mapper-persistent-data lvm2 III. Install Docker-CEsudo yum install docker-ce IV. Mirror acceleration configuration sudo mkdir -p /etc/dockersudo vim /etc/daemon.json{ "registry-mirrors": ["your accelerator address"]}EOF#Restart dockersudo systemctl daemon-reload systemctl restart docker V. GUI management

It is recommended to use Portainer as a GUI management solution for containers. Official address: portainer.io/install.html Installation command: visit your IP:9000 to enter the container management page

docker volume create portainer_datadocker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer About how to install Docker in Liunx system to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.

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

Internet Technology

Wechat

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

12
Report