docker_practice/data_management/README.md

10 lines
290 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# Docker 数据管理
![](https://docs.docker.com/engine/admin/volumes/images/types-of-mounts-volume.png)
这一章介绍如何在 Docker 内部以及容器之间管理数据,在容器中管理数据主要有两种方式:
* 数据卷Volumes
* 挂载主机目录 (Bind mounts)