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

"actual combat" open source project dockerized operation and maintenance deployment-Portainer management cluster deployment (10)

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

Share

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

Original articles, welcome to reprint. Reprint please indicate: Reprint from IT people story meeting, thank you!

Original link address: "Practical chapter" Open source project docker operation and maintenance deployment-Portainer management cluster deployment (X)

Docker was managed by command before. In fact, docker still has a graphical interface. How to manage docker using graphical interface, in fact, many companies in the industry have carried out graphical packaging of docker. There was also an interface marathon at the beginning and intermediate levels. Here are some of the more famous porteliers in the industry.

####portainer

official website

https://www.portainer.io

! [(https://upload-images.jianshu.io/upload_images/11223715-feff5c78729de982.png? imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

introduced

Portainer was developed to help customers adopt Docker container technology and accelerate time to value. Building, managing and maintaining Docker environments has never been easier. Portainer is easy to use software that provides an intuitive interface for software developers and IT operations. Portainer gives you a detailed overview of the Docker environment and allows you to manage containers, images, networks, and volumes. Portainer is easy to deploy-you only need a Docker command to run Portainer anywhere.

Why is it now time to talk about interface management docker tools

After writing so many commands, I now say that there is an open source Portainer. In fact, my goal is to learn to walk first and then learn to run. If you directly use the graphical interface to run docker, you don't understand it deeply, and you don't understand the network principle. After running through the graphical interface, you can understand how to run commands in the background through the graphical interface.

####Portainer installation

Open Docker network management port (required on all four machines) vim /lib/systemd/system/docker.service#Find the ExecuStart line ExecuStart =/usr/bin/dockerd -H tcp://0.0.0: 2375-H unix://var/run/docker.sock systemctl daemon-reload systemctl restart docker

Start container (Four machines) Machine #66.100 executes docker run -d -p 9000:9000 portainer/portainer -H tcp://192.168.66.100:2375#66.101 executes docker run -d -p 9000:9000 portainer/portainer -H tcp://192.168.66.101: 2375#66.102 machine executes docker run -d -p 9000:9000 portainer/portainer -H tcp://192.168.66.102:2375#66.103 machine executes docker run -d -p 9000:9000 portainer/portainer -H tcp://192.168.66.103:2375

function page

Maybe the container will collapse after setting the password, and docker start the container ID again

How to add managed virtual machines

PS: understand the command, in fact, this thing is very simple and easy to use, may be the container is not very stable or my memory is too low, the system old collapse, the proposed collapse of the docker start container ID will rise.

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