Where is the docker image file placed?

Release: 2020-04-01 15:48:34
Original
13536 people have browsed it

Where is the docker image file placed?

#Docker’s image file is stored in the /var/lib/docker folder.

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
Copy after login

Enter containers, each serial number is a mirror, as follows:

cd containers/
 
2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d  4ce1634ce6f17474c8e6696bcf428e621f8c9572e1387316cf8183c97f4ad271
Copy after login

Enter one of the mirrors, and find that the directory structure is 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
Copy after login

For more related tutorials, please pay attention to the docker tutorial column on the PHP Chinese website.

The above is the detailed content of Where is the docker image file placed?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template