执行命令:
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",
}]