使用命令:
docker inspect <容器id>
在返回的json数据中,查找 Path 和HostPath这两个参数:
其中,Path 为容器的运行位置(指令),HostPath 为容器的所在位置。