You can't help but know about such an awesome Docker visualization tool!
藏色散人forward
2021-12-20 11:38:012457browse
docker tutorial column introduces you to an awesome Docker visualization tool. I hope it will be helpful to friends who need it!
Introducing an awesome Docker visualization tool
Friends who learn back-end must learn it One of the latest technologies is Docker, which is extremely convenient for deploying projects and environments! In the past, I used docker simply and crudely, just go to the command line, whatdocker ps,docker images...
, but today I accidentally saw something , a visualization tool for Docker!
Let’s introduce today’s protagonist: Portainer
## Introduction to Portainer
Official document: https://documentation.portainer.io/
Portainer is a visual graphical management tool for container images. Portainer can be used to easily build, manage and maintain Docker environment. And it’s completely free. Based on the containerized installation method, it is very simple and convenient to install! The simple understanding is:
Docker operations that were originally based on the command line can now basically be done with just a click of the mouse on the web page!
Install Portainer
Installing Portainer requires us to open the command line terminal and your Docker has been started In this case, perform the following operations. In fact, it is the same as using Docker.
docker search Portaine
After that, download the first [Related recommendation:
Afterwards, Ps check whether it is started properly
Witness Miracle
Open the browser and enter the address: localhost:9000
The appearance of this page means that you have been deployed successfully!
Enter two identical passwords to register, then click
Create User
##Remote In fact, you can connect to remote Docker. We need to manage the local Docker, so select Local here, and then click Connect
and then the miracle will happen!
Homepage
##You can see that there is a Local Docker Start, we can click in to view the detailsThe operations are clear at a glance
#Advanced gameplay
logs can directly view the logs inside the container, and also supports search, view by day, etc.
inspect is used View the details of the container, which is the same as
docker inspect container ID/container name
stats can be used to view the resource usage inside the container, including memory usage, CPU, etc.
There is also an
App Templates on the left menu, which can be used to quickly build container applications!
There are a lot of good things in it. Basically, there are commonly used ones. Click in and simply configure it to create it. I will demonstrate how to use this thing here. Read on to build a personal blog! Scroll down to find WordPress, click to enter
After clicking Deploy the stack, Portainer will automatically create these two containers for us.
#After clicking in, you can see that a WordPress container and a MySQL container have been created and started. Then the external port mapped by WordPress is
55001
. Then you can use the browser to access the local port!
The above is the detailed content of You can't help but know about such an awesome Docker visualization tool!. For more information, please follow other related articles on the PHP Chinese website!