Home > Article > Operation and Maintenance > Can docker install a graphical interface?
Docker can install a graphical interface; the commonly used graphical page management tools of docker include DockerUI, Portainer, and Shipyard. You can use these three tools to obtain managed resource information through the "docker api". Use "docker volume create portainer_data" command to install it.
The operating environment of this tutorial: linux7.3 system, docker version 19.03, Dell G3 computer.
Docker can install a graphical interface
Docker installs GUI graphical interface:
There are three commonly used docker graphical page management tools, DockerUI, Portainer, and Shipyard. DockerUI is the predecessor of Portainer. These three tools obtain managed resource information through the docker API.
Usually we often face these command line clients in front of the shell, and the aesthetics will be very tired. It would be very convenient if there is a beautiful graphical interface that can visually view docker resource information. Today we will build three common graphical page management tools in stand-alone versions. Of these three graphical management tools, Portainer is the most popular.
Official website address: https://www.portainer.io/
Installation in linux
The specific command is as follows:
$ docker volume create portainer_data $ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
You only need to use a browser to access port 9000 of the Docker engine running portainer.
Note: Port 9000 is the regular port used by Portainer for UI access. EDGE proxy only uses port 8000 for reverse tunneling functionality. If you do not plan to use an edge proxy, you do not need to expose port 8000
It should be noted here that if it is local, choose the first one option, and then set the administrator password
Recommended learning: "docker video tutorial"
The above is the detailed content of Can docker install a graphical interface?. For more information, please follow other related articles on the PHP Chinese website!