This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.5.4.2. cp
将文件和目录复制到容器或从容器中复制。
示例:将文件从 python-1-mz2rf
pod 复制到本地文件系统
oc cp default/python-1-mz2rf:/opt/app-root/src/README.md ~/mydirectory/.
$ oc cp default/python-1-mz2rf:/opt/app-root/src/README.md ~/mydirectory/.