【发布时间】:2017-10-27 23:18:06
【问题描述】:
这是有效的,因为它正在复制some_file:
docker run --rm -v target-data:/target -v ~/source:/source alpine cp source/some_file target/
这不(使用通配符):
docker run --rm -v target-data:/target -v ~/source:/source alpine cp source/* target/
cp: can't stat 'source/*': No such file or directory
如何将souce 卷中的所有文件复制到target 卷中?
【问题讨论】: