Recommend 3 easy-to-use docker graphical management tools

Time:2021-9-26

Recommend 3 easy-to-use docker graphical management tools

Docker is a very popular container technology, which is now widely used in all walks of life.

However, how to manage docker containers is a problem, so I’d like to introduce three docker visualization tools to you today, hoping to help you.

Portainer

Portal is a docker visual management tool, which allows us to easily view and manage docker containers in web pages.

Project address:https://www.portainer.io/
Recommend 3 easy-to-use docker graphical management tools

To use the container, it is easy to run the following two commands. These commands create a volume dedicated to the container, and then create and run the container on ports 8000 and 9000.

$ docker volume create portainer_data$ docker run –name portainer -d -p 8000:8000 -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer

Then open the corresponding address in the browser and you will find that it runs successfully. When running for the first time, you need to set an account, and then select the docker host to manage.
Recommend 3 easy-to-use docker graphical management tools
Set account
Recommend 3 easy-to-use docker graphical management tools

Select the host to manage

After that, you can see the docker containers running on the local machine. Click them to manage the containers. The entries on the left can manage volumes, create containers, View host information, and so on. Basically, all the functions are available. This is also a tool I recommend.
Recommend 3 easy-to-use docker graphical management tools

LazyDocker

Lazydocker is a visual query tool based on terminal, which supports keyboard operation and mouse click.

Compared with portal, it may not be so professional, but it may be easier for developers to use. Because most developers use the command line to run docker, lazydocker can be used occasionally when graphical viewing is required.

Project address:https://github.com/jesseduffi…
Recommend 3 easy-to-use docker graphical management tools

Official website demo
Installing lazydocker is also very simple. Just run the following command.

$ docker run –rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/.config/lazydocker:/.config/jesseduffield/lazydocker \lazyteam/lazydocker

Of course, if you find lazydocker very useful and ready to use it frequently, you can also make it an abbreviation and add it to the shell configuration file, so that it can be turned into a simple command.

For example, if I use Zsh, add the following to the. Zshrc file. In the future, you can call lazydocker directly with LZD.

alias lzd=’docker run –rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/.config/lazydocker:/.config/jesseduffield/lazydocker lazyteam/lazydocker’

Then you can view the docker container, image and volume information in the terminal.
Lazydocker supports keyboard operation and mouse click. You can view the corresponding information directly with mouse click.

Recommend 3 easy-to-use docker graphical management tools

It should be noted that if the graphics display of lazydocker on your terminal is messy, don’t worry, it’s just the problem of font display. Just reset the terminal font.
Recommend 3 easy-to-use docker graphical management tools

Docui
Docui is also an open source terminal docker management tool. Like lazydocker, it is also the form of terminal UI.

Docui and lazydocker have a common advantage, that is, they support a large number of shortcut keys, which will be extremely convenient after proficiency.
Project address:https://github.com/skanehira/…
Recommend 3 easy-to-use docker graphical management tools

Docui installation is also very simple.

Install $git clone through the source code https://github.com/skanehira/docui.git $ cd docui/$ GO111MODULE=on go install

MacOS may install $brew tap skanehira / docui through homebrew $brew install docui
Summary

If you are a team, portal will be more suitable because it has access control.

Lazydocker and docui are simple and flexible terminal gadgets. If you don’t need complex functions, they may be more suitable for you.
Docker has many free and easy-to-use third-party client tools. The above is just some of them. You need to try which one is more suitable for you. After understanding, you can choose the most suitable one according to the actual needs.

Reference documents
1.https://www.google.com
2.https://www.toutiao.com/i6780…
3.https://mp.weixin.qq.com/s/sb…

Pay attention to the ‘little god’ to bring you different technical dry goods every day

Recommend 3 easy-to-use docker graphical management tools

Recommended Today

Supervisor

Supervisor [note] Supervisor – H view supervisor command help Supervisorctl – H view supervisorctl command help Supervisorctl help view the action command of supervisorctl Supervisorctl help any action to view the use of this action 1. Introduction Supervisor is a process control system. Generally speaking, it can monitor your process. If the process exits abnormally, […]