首页 > docker 怎么把容器里的文件共享到宿主机
-v 是把宿主机文件挂载到容器内。但是是我想容器里的文件放到宿主机。
docker cp <containerId>:/file/path/within/container /host/path/target