20200804Addendum: The article may be incorrect. You can look up other answers. docker pull xxx, you can pull down the desired image and use it directly, but where is the pulled image stored? Here is a record: The Docker version here is: Docker version 1.13.1 1. Enter the docker directory as follows: root@iZuf6axmuekh1n14dwcufmZ:/# cd var/lib/docker/ root@iZuf6axmuekh1n14dwcufmZ:/var/lib/docker# ls aufs containers image network plugins swarm tmp trust volumes 2. Enter containers, each serial number is a mirror, as follows: cd containers/ 2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d 4ce1634ce6f17474c8e6696bcf428e621f8c9572e1387316cf8183c97f4ad271 3. Enter one of the images and find the directory structure as follows. This is the content of this image, as follows: cd 2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d/ 2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d-json.log checkpoints config.v2.json hostconfig.json hostname hosts resolv.conf resolv.conf.hash shm 4. In the containers directory, there is a folder called image. Enter it as follows: cd images/aufs distribution imagedb layerdb repositories.json There is a repositories.json file in it, which records some information about the image in detail:
(If the image does not have an aufs directory, it may be like this [root@izbp163wlhi02tcaxyu image]# ls overlay2 [root@izbp163wlhi02tcaxyu image]# cd overlay2/ [root@izbp163wlhi02tcaxyu overlay2]# ls distribution imagedb layerdb repositories.json The command line is as follows: This is the end of this article about where the images pulled by docker are stored. For more information about docker pull image storage, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Detailed explanation of Javascript basics
>>: XHTML three document type declarations
Now most projects have begun to be deployed on Do...
This article uses examples to illustrate how to i...
Demand scenario: The existing PXC environment has...
1. One-stop solution 1. Problem analysis and loca...
Take the deployment of https://gitee.com/tengge1/...
You can view the container logs through the docke...
There is a table user, and the fields are id, nic...
This article records the detailed installation tu...
Colleagues often ask, when deleting files/directo...
Normally, you'll need to read everyone's s...
Table of contents 1. Cartesian product phenomenon...
This article example shares the specific code of ...
What I have been learning recently involves knowl...
Preface When we deploy applications to servers as...
There are many tutorials on the Internet, and the...