Docker graphics tools

There are three commonly used Docker graphic page management tools, DockerUI, Portainer, Shipyard. DockerUI is the precursor of Portainer. These three tools use the Docker API to get managed resource information. Usually, we are often faced with the shell and the command line client, which makes us very tired. If there is a beautiful graphical interface, it is very convenient to view the docker resource information directly. Today we set up a stand-alone version of the three commonly used graphical page management tools. Portainer is the most popular of the three graphical management tools.

2. DockerUI

DockerUI for lightweight graphical page management

1. View the DockerUI image

[root@localhost ~]# docker search dockerui

Copy the code

2. Select your favorite DockerUI image and download it

[root@localhost ~]# docker pull abh1nav/dockerui

Copy the code

3. Start the DockerUI container, and note that the privileged parameter should be brought here to enhance the permission

[root@localhost ~]# docker run -d --privileged --name dockerui -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock  abh1nav/dockeruiCopy the code

Before you can go to the web page, you need to open the server 9000 port: firewall-cmd –permanent –zone=public –add-port=9000/tcpfirewall-cmd –reload

4. The browser view dockerui: http://192.168.2.119:9000 or curl http://192.168.2.119:9000

Three Shipyard.

Design for lightweight graphical page management

Four Portainer.

Lightweight graphical page management Portainer

1. View the Portainer image

[root@localhost ~]# docker search portainer

Copy the code

2. Choose your favorite Portainer style image and download it

docker pull portainer/portainer

Copy the code

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

Copy the code

Parameter description: – v/var/run/docker. The sock: / var/run/docker. The sock: the host machine’s docker daemon (docker daemon) default listening Unix domain socket mounted to the container; -v portainer_data:/data: mount the portainer_data volume on the host computer to the container /data directory.

5. The 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, select Remote and enter SWARM IP address, click Connect to complete the installation.

4. The browser to http://192.168.2.119:9000, set up a password, click create user

We built the standalone version, directly select Local and click Connect

To use it now, click Local to go to the dashboard main page.

Container page