共计 169 个字符,预计需要花费 1 分钟才能阅读完成。
Docker 的装置
Docker 的数据卷
数据卷的挂载
多个容器能够挂载到一个数据卷中,
间接的实现容器间的通信
一个容器挂载一个目录
一个容器能够挂载多个目录
查看容器的挂载信息
docker inspect (container_name | grep Mounts -A 20)
docker inspect (container_id | grep Mounts -A 20)
正文完
共计 169 个字符,预计需要花费 1 分钟才能阅读完成。
数据卷的挂载
多个容器能够挂载到一个数据卷中,
间接的实现容器间的通信
一个容器挂载一个目录
一个容器能够挂载多个目录
查看容器的挂载信息
docker inspect (container_name | grep Mounts -A 20)
docker inspect (container_id | grep Mounts -A 20)