2.47. Docker cp command

发布时间 :2025-10-25 12:31:04 UTC      

Docker 命令大全

docker cp : Used to copy data between the container and the host.

2.47.1. Grammar

docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|-
docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH

OPTIONS description:

  • -L : Maintain links in the source destination

2.47.2. Example

Copy the host / www/runoob directory to the / www directory of the container 96f7f14e99ab.

docker cp /www/runoob 96f7f14e99ab:/www/

Copy the host / www/runoob directory into the container 96f7f14e99ab and rename the directory to www.

docker cp /www/runoob 96f7f14e99ab:/www

Copy the / www directory of the container 96f7f14e99ab to the / tmp directory of the host.

docker cp  96f7f14e99ab:/www /tmp/

Docker 命令大全

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.