Click on “Road of Technology for Migrant workers” and choose “Top or Star label”

10 o ‘clock every day for you to share different dry goods

The popularity of Docker technology, surely every Internet IT technician can always feel to, indeed, in recent years, the domestic demand for Docker container technology application is more and more strong!

What exactly is Docker? Why is it so popular?

Therefore, the management of Docker containers is becoming more and more important. So, today, the elder brother of migrant worker recommends 2 kinds of awesome, cool, practical tools to everyone.

1. Explore Docker images and reduce image size!

Docker container image is a lightweight, independent, containing all the software needed to run an application executable package, so a Docker image inside will contain what things? The tool Dive is designed to analyze and browse the contents of each layer of a Docker image.

By analyzing Docker images, we can find files that may be duplicated between different layers and reduce the size of Docker images by removing them.

Dive is a free open source tool written in the Go language. The Dive tool is more than just a Docker image analysis tool, it also helps users build images.

Run a screenshot

Making:

https://github.com/wagoodman/dive/blob/master/README.md

Latest version: V0.4.1

Installation instructions:

https://github.com/wagoodman/dive/blob/master/README.md

Download address:

https://github.com/wagoodman/dive/releases

References:

https://www.oschina.net/p/dive

2. Super cool Docker terminal UI

A developer has opened source a simple terminal UI for Docker and docker-compose — LazyDocker, which has gained 2k+ star in just a few days.

Author: H4CD, source: Open Source China.

The author indicates that it is difficult to remember Docker commands, and it is almost impossible to track containers in multiple terminal Windows. Lazydocker is produced to solve this problem. It can have all the required information in a terminal window, and each common Docker command can be bound with shortcut keys. You can also add custom commands. All it takes is a keystroke or mouse click like the one above.

Lazydocker is based on GoCUI library, and the environment requires Go 1.12 version. The command is called in the terminal, such as:

echo "alias ld='lazydocker'" >> ~/.zshrcCopy the code

Specific features of LazyDocker are as follows:

  • View the state of the Docker or Docker-compose container environment in full view

  • View logs for containers or services

  • Look at the ASCII chart of container metrics so you can be more of a developer

  • Customize charts to measure different metrics

  • Attach to container/service

  • Restart, delete, and rebuild containers/services

  • View the ancestor layer of the given image

  • Trim containers, images, or volumes that occupy disk space

Details see https://gitee.com/mirrors/lazydocker

Click the picture to go to the book list

Today’s topic

What are the most efficient management tools you use in docker containers? Or share your good experience and method of docker container management in daily work (50-100 words)? Select a message randomly selected from the message lucky reader (the next day’s headlines the first top message announced) to send any book in the list above.

Bring about

END

Pay attention to the wechat public number of the road of technology of migrant workers, in the background reply keyword: 1024 or 2048, you can get a latest arrangement of technical dry goods.

– MORE excellent articles – |

  • Big Data (born 2006, died 2019) is dead!

  • Xiaomi reported internal corruption, two employees have been fired and arrested by the public security organs!

  • Can not be off, the new version of wechat this function led to complaints from users.

  • Top 10 Most Valuable Companies in the World (1997-2019)

  • Ma Huateng hair big move! Another millionaire is born…

  • GitHub 50000+ Star Top, command line art!

Long press the TWO-DIMENSIONAL code to pay attention to the technical road of migrant workers

Public number background reply “catalog” can view the public number article catalog, reply “add group” can join the reader technical exchange group, communicate with you together.

All the best of the official account is here

You click one at 👍

Is the biggest support