执行命令:
docker inspect “容器ID” | grep Mounts -A 20
"Mounts": [
{
"Type": "bind",
"Source": "/root/projects/project/dist",
"Destination": "/root/share/nginx/html",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
},
{
"Type": "bind",
"Source": "/root/nginx/logs",
"Destination": "/root/log/nginx",
}]
docker如何查看容器的挂载目录
原文作者:青椒1013
原文地址: https://blog.csdn.net/wu_qing_song/article/details/113253437
本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
原文地址: https://blog.csdn.net/wu_qing_song/article/details/113253437
本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。