> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/docker_practice/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/08_data.md).

# 第八章 数据管理

如图 8-1 所示，Docker 数据管理主要围绕三类挂载方式展开。

<div align="center"><img src="/files/UtwTeQafMGqpZ2PDFdnd" alt="Docker 数据挂载类型"></div>

图 8-1：Docker 数据挂载类型示意图

这一章介绍如何在 Docker 内部以及容器之间管理数据，在容器中管理数据主要有以下几种方式：

* [数据卷](/docker_practice/di-er-bu-fen-jin-jie-pian/08_data/8.1_volume.md)
* [挂载主机目录](/docker_practice/di-er-bu-fen-jin-jie-pian/08_data/8.2_bind-mounts.md)
* [tmpfs 挂载](/docker_practice/di-er-bu-fen-jin-jie-pian/08_data/8.3_tmpfs.md)
