是否docker
确实只支持一次从主机复制一个文件?
唯一显示的选项docker cp
是:
$docker cp --help
Usage: docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
Copy files/folders between a container and the local filesystem
Options:
-a, --archive Archive mode (copy all uid/gid information)
-L, --follow-link Always follow symbol link in SRC_PATH
除此之外jira
https://github.com/moby/moby/issues/7710表明通配符目前不支持。所以这里唯一的选择是创建一个档案并cp/untar那?