# 第八章 数据管理

如图 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yeasy.gitbook.io/docker_practice/di-er-bu-fen-jin-jie-pian/08_data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
