Docker graphical management tool

Time:2021-12-30

Docker graphical management tool

Introduction to docker graphical tool

Docker graphic page management tools are commonly used, such as docker UI, container and shipyard. Docker UI is the predecessor of portal. These three tools obtain managed resource information through docker API. At ordinary times, we often face the shell and these command-line clients, which will be very tired. If we have a beautiful graphical interface, we can intuitively view the docker resource information, which is also very convenient.

Today we will build some common graphical page management tools for stand-alone version. Among these graphical management tools, portal is the most popular.

DockerUI

Docker UI for lightweight graphical page management

1. View dockerui constants

[[email protected] ~]# docker search dockerui

Docker graphical management tool

2. Select your favorite docker UI style and download it

[[email protected] ~]# docker pull abh1nav/dockerui

3. Start the dockerui container. Here, you need to take the privileged parameter and upgrade the permissions

[[email protected] ~]# docker run -d --privileged --name dockerui -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock abh1nav/dockerui

Before going to the web page, you need to open the 9000 port of the server:

firewall-cmd --permanent --zone = public --add-port = 9000 / tcpfirewall-cmd --reload

4. View docker UI with browser:http://192.168.2.119: 9000 or curlhttp://192.168.2.119:9000

Docker graphical management tool

Shipyard

Shipyard for lightweight graphic page management

Docker graphical management tool

Portainer


Portal for lightweight graphic page management

1. View the average value of the container

[[email protected] ~]# docker search portainer

Docker graphical management tool

2. Select your favorite portal style integration and download it

docker pull portainer/portainer

3. Start the dockerui container

docker volume create portainer_data
docker run -d -p 9000: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. The sock # closes the docker daemon of the managed machine, and the monitored UNIX domain can be attached to the container;
-v portainer_ Data: / data # puts the host port_ Mount the 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. For the stand-alone version, select local on the new page to complete the installation, select remote, enter the IP address of swarm, and click Connect to complete the installation.
  • 3. Browser accesshttp://192.168.2.119: 9000, set a password

Docker graphical management tool

We build a stand-alone version. Directly select local and click Connect

Docker graphical management tool

Now you can use it. Click local to enter the dashboard main page.

Docker graphical management tool

Container page

Docker graphical management tool

Author: fried fish
Original text:https://my.oschina.net/u/2003…

Docker graphical management tool