In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "the use of graphical page management tools in Docker", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "the use of graphical page management tools in Docker"!
I. Docker graphical tool
There are three kinds of 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 the three commonly used graphical page management tools. Among the three graphical management tools, Portainer is the most popular.
II. DockerUI
DockerUI for lightweight graphic page management
1. View dockerui image
[root@localhost ~] # docker search dockerui
two。 Choose your favorite dockerui style image and 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
IV. Portainer
Portainer for lightweight graphic page management
1. View portainer image
[root@localhost ~] # docker search portainer
two。 Choose your favorite portainer style image and download
Docker pull portainer/portainer
3. Start the dockerui container
Docker volume create portainer_datadocker 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: mounts the Unix domain socket listened to by default by the Docker daemon (Docker daemon) of the host to the container
-v portainer_data:/data: Mount host portainer_data data volume to container / data directory
IV. Web management
1. Log in to http://x.x.x.x:9000 and set the administrator account and password.
2. Select Local on the new page to complete the installation of the stand-alone version. Select Remote in the cluster, enter the IP address of SWARM, and click Connect to complete the installation.
4. The browser can access http://192.168.2.119:9000, set a password, and click create user.
Container page
Thank you for reading, the above is the content of "the use of graphical page management tools in Docker", after the study of this article, I believe you have a deeper understanding of the use of graphical page management tools in Docker, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.