In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about where the image downloaded by docker is. Many people may not know much about it. In order to make you understand better, the editor summarized the following content for you. I hope you can get something according to this article.
Image download of docker
Take the ubuntu system as an example, the downloaded image file is in / var/lib/docker/aufs, and the local image is stored in the directory / var/lib/docker folder.
Docker pull xxx, you can pull down the desired image and use it directly. Where can you record the image stored under the pull:
1. Enter the docker directory
Root@iZuf6axmuekh2n14dwcufmZ:/# cd var/lib/docker/root@iZuf6axmuekh2n14dwcufmZ:/var/lib/docker# lsaufs containers image network plugins swarm tmp trust volumes
two。 Enter containers. Each serial number is a mirror image.
Cd containers/2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d 4ce1634ce6f17474c8e6696bcf428e621f8c9572e1387316cf8183c97f4ad271
3. Enter one of the images and find that the directory structure is as follows. This is the content of this image.
Cd 2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d/2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d-json.log checkpoints config.v2.json hostconfig.json hostname hosts resolv.conf resolv.conf.hash shm
4. In the containers sibling directory, there is a folder called image, enter the following:
Cd images/aufsdistribution imagedb layerdb repositories.json
There is a repositories.json file in which some information about the image is recorded in detail:
{"Repositories": {"mysql": {"mysql:latest": "sha256:7d83a47ab2d2d0f803aa230fdac1c4e53d251bfafe9b7265a3777bcc95163755", "mysql@sha256:1f95a2ba07ea2ee2800ec8ce3b5370ed4754b0a71d9d11c0c35c934e9708dcf1": "sha256:7d83a47ab2d2d0f803aa230fdac1c4e53d251bfafe9b7265a3777bcc95163755"}, "tomcat": {"tomcat:latest": "sha256:3dcfe809147daf54fbdbe1f6886b4c49df63f28e2b3c8ac119fef6a7f7490d3c", "tomcat@sha256:d167fd5df11d7a7f7a3b04bd08a021948c67c92932ed38c740296c2ae69f67a3": "sha256:3dcfe809147daf54fbdbe1f6886b4c49df63f28e2b3c8ac119fef6a7f7490d3c"} after reading the above, do you have any further understanding of where the docker downloaded image is? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.