
The cp command and copy api endpoint allows users to copy files and or folders from a containers filesystem. Closes #382
13 lines
530 B
ReStructuredText
13 lines
530 B
ReStructuredText
:title: Cp Command
|
|
:description: Copy files/folders from the containers filesystem to the host path
|
|
:keywords: cp, docker, container, documentation, copy
|
|
|
|
===========================================================
|
|
``cp`` -- Copy files/folders from the containers filesystem to the host path
|
|
===========================================================
|
|
|
|
::
|
|
|
|
Usage: docker cp CONTAINER:RESOURCE HOSTPATH
|
|
|
|
Copy files/folders from the containers filesystem to the host path. Paths are relative to the root of the filesystem.
|