In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to use the Docker graphics tool Portainer, which is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
I. Docker graphical tool
Docker graphics page management tools commonly used, DockerUI,Portainer,Shipyard. DockerUI is the predecessor of Portainer, and these three tools obtain managed resource information through docker api. Usually we often face the shell in front of these command line clients, aesthetic will be very tired, if there is a beautiful graphical interface can directly view docker resource information, is also very convenient. Today we will build a stand-alone version of some common graphical page management tools. Among these graphical management tools, Portainer is the most popular.
II. DockerUI
DockerUI for lightweight graphic page management
1. View dockerui constant
[root@localhost ~] # docker search dockerui
two。 Choose your favorite dockerui style itself, download
[root@localhost ~] # docker pull abh2nav/dockerui
3. To start the dockerui container, you need to pay attention to the privileged parameter and upgrade the permission.
[root@localhost] # docker run-d-- privileged-- name dockerui-p 9000 privileged 9000-v / var/run/docker.sock:/var/run/docker.sock abh2nav/dockerui
Before going to the web page, you need to open port 9000 of the server: firewall-cmd-- permanent-- zone = public-- add-port = 9000 / tcpfirewall-cmd-- reload.
4. Browsers view dockerui:http: / / 192.168.2.119: 9000 or curl http://192.168.2.119:9000
three。 Shipyard
Shipyard for lightweight graphic page management
four。 Portainer
Portainer for lightweight graphic page management
1. View portainer average
[root@localhost ~] # docker search portainer
two。 Choose your favorite portainer style integration, download
Docker pull portainer/portainer
3. Start the dockerui container
Docker volume create portainer_data docker run-d-p 9000 var/run/docker.sock:/var/run/docker.sock 9000-- name portainer-- restart always-v / var/run/docker.sock:/var/run/docker.sock-v portainer_data:/data portainer/portainer
Parameter description:-v / var/run/docker.sock:/var/run/docker.sock: disable the Docker daemon (Docker daemon) of the hosting machine to listen to the Unix domain and mount it to the container;-v portainer_data:/ data: Mount the host portainer_data data volume to the container / data directory
4. Web page management
1. Log in to http:// xxxx:9000 and set the administrator account and password.
2. The installation of the stand-alone version can be completed by selecting local on the new page, select remote and enter the IP address of SWARM, and click Connect to complete the installation.
4. The browser accesses http://192.168.2.119:9000 and sets a password
We are building a stand-alone version. Select Local directly and click on the link.
Now you can use it, click Local to enter the main page of the dashboard.
Container page
The above is how to use the Docker graphics tool Portainer. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.