Docker cp 命令
Docker 教程
· 2019-02-18 16:28:40
docker cp :用于容器与主机之间的数据拷贝。
语法
docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH
OPTIONS说明:
-L :保持源目标中的链接
实例
将主机/www/codercto目录拷贝到容器96f7f14e99ab的/www目录下。
docker cp /www/codercto 96f7f14e99ab:/www/
将主机/www/codercto目录拷贝到容器96f7f14e99ab中,目录重命名为www。
docker cp /www/codercto 96f7f14e99ab:/www
将容器96f7f14e99ab的/www目录拷贝到主机的/tmp目录中。
docker cp 96f7f14e99ab:/www /tmp/
点击查看所有 Docker 教程 文章: https://codercto.com/courses/l/15.html
Algorithms Sequential & Parallel
Russ Miller、Laurence Boxer / Charles River Media / 2005-08-03 / USD 59.95
With multi-core processors replacing traditional processors and the movement to multiprocessor workstations and servers, parallel computing has moved from a specialty area to the core of computer scie......一起来看看 《Algorithms Sequential & Parallel》 这本书的介绍吧!