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
HTML implements 2-column layout, with fixed width...
A few days ago, I watched a video of a foreign gu...
MySql always pops up a MySQLInstallerConsole.exe ...
Running environment, Idea2020 version, Tomcat10, ...
This article shares the specific code of Vue.js t...
Table of contents background How to determine whe...
Table of contents 1. Environment Introduction 2. ...
Table of contents Preface 1. Background 2. Simula...
1. Download the tomcat image docker pull tomcat:8...
This article mainly introduces the example of rea...
This is not actually an official document of IE. I...
As components become more detailed, you will enco...
Permissions and database design User Management U...
Table of contents Master-slave replication mechan...
This article example shares the specific code of ...