Today I recommend such an open source tool for exploring Docker images, the contents of each layer, and finding ways to reduce the size of Docker/OCI images. That tool is: dive. Tool address: https://github.com/wagoodman/dive, Star count: 22k+. This tool can clearly see what is included in each layer of the image, so that you can analyze whether it is necessary, as shown in the figure below. characteristic Key features of the tool include:
Installation and Usage 1. Mainly use docker to run dive. For specific usage, please refer to the official website: https://github.com/wagoodman/dive 2. Pull the dive image docker pull quay.io/wagoodman/dive:latest 3. Run dive through docker to view the image layer information
Note: The last nginx:latest is the image name to be viewed or can be directly replaced with the image ID. The open interface is as follows: KeyBindings
The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of how to gracefully delete a large table in MySQL
>>: Summary of XHTML application in web design study
I have been depressed for a long time, why? Some t...
In this blog, I will walk you through the process...
Don't be surprised if you see some kind of und...
The installation information on the Internet is u...
lead Some common triangles on web pages can be dr...
This morning I planned to use Wampserver to build...
The HTML code for intercepting text beyond multipl...
Before officially using Docker, let's first f...
With the emergence of docker, many services have ...
Table of contents Create a global shared content ...
In the vue scaffolding, we can see that in the ne...
Table of contents A JSON is built on two structur...
Table of contents 01 Common Faults 1 02 Common Fa...
Physical Structure of an InnoDB Index All InnoDB ...
1. Introduction Are you still leaving your websit...