mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
The cp command and copy api endpoint allows users to copy files and or folders from a containers filesystem. Closes #382 Upstream-commit: 5b8cfbe15c29efd3e72ea97ba87867590aeeba25 Component: engine
530 B
530 B
- 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.