mirror of https://github.com/docker/docs.git
15 lines
568 B
ReStructuredText
15 lines
568 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.
|