大佬教程收集整理的这篇文章主要介绍了/ var/lib/docker /中docker目录结构的功能,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
当我启动一个新的docker守护进程时,docker目录是这样的:
/var/lib/docker/ ├── aufs │ ├── diff │ ├── layers │ └── mnt ├── containers ├── graph ├── init │ └── dockerinit-0.7.3 ├── linkgraph.db ├── lxc-start-unconfined -> /usr/bin/lxc-start ├── repositories-aufs └── volumes
正如标题所说,这个结构中每个目录的功能是什么?
/var/lib/docker/
├── aufs # Storage area for AUFS driver
│ ├── diff # Branch directory of layer
│ ├── layers # Infomation about docker layer
│ └── mnt # Mount point of aufs,root of containers
├── containers # Container configurations
│ (both LXC and Docker-specific)
├── graph # Storage for the images
├── init
│ └── dockerinit-0.7.3 # Used as /sbin/init in containers
├── linkgraph.db # sqlite database storing links
│ and names.
├── lxc-start-unconfined -> /usr/bin/lxc-start # When starting a privileged
│ container,this is used in
│ lieu of lxc-start,to evade
│ AppArmor confinement (which
│ matches by exact path).
├── repositories-aufs # repository infomation
└── volumes # Storage for "anonymous" volumes
(those which are not bind-mounts)
以上是大佬教程为你收集整理的/ var/lib/docker /中docker目录结构的功能全部内容,希望文章能够帮你解决/ var/lib/docker /中docker目录结构的功能所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。