Home>Article>Operation and Maintenance> Can docker install a graphical interface?

Can docker install a graphical interface?

WBOY
WBOY Original
2022-06-16 16:44:54 4248browse

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.

Can docker install a graphical interface?

The operating environment of this tutorial: linux7.3 system, docker version 19.03, Dell G3 computer.

Can docker install a graphical interface?

Docker can install a graphical interface

Docker installs GUI graphical interface:

01 Introduction

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.

02 Portainer installation introduction

Official website address: https://www.portainer.io/

Installation in linux

Can docker install a graphical interface?

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

03 Installation completed

It should be noted here that if it is local, choose the first one option, and then set the administrator password

Can docker install a graphical interface?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn