cp.rst 568 B

1234567891011121314
  1. :title: Cp Command
  2. :description: Copy files/folders from the containers filesystem to the host path
  3. :keywords: cp, docker, container, documentation, copy
  4. ============================================================================
  5. ``cp`` -- Copy files/folders from the containers filesystem to the host path
  6. ============================================================================
  7. ::
  8. Usage: docker cp CONTAINER:RESOURCE HOSTPATH
  9. Copy files/folders from the containers filesystem to the host
  10. path. Paths are relative to the root of the filesystem.