Home  >  Article  >  Operation and Maintenance  >  Where is the docker image file placed?

Where is the docker image file placed?

尚
Original
2020-04-01 15:48:3413543browse

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

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

cd containers/
 
2addde372f5b4850ab167f1067db525313e1569e7117074841cc171acca7621d  4ce1634ce6f17474c8e6696bcf428e621f8c9572e1387316cf8183c97f4ad271

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

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!

Statement:
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