mirror of
https://github.com/apple/container.git
synced 2026-07-12 12:37:02 +00:00
9895ba8d08
## Type of Change - [ ] Bug fix - [x] New feature - [ ] Breaking change - [x] Documentation update ## Motivation and Context Adds the `container copy` (aliased as `cp`) command to copy files between a running container and the local filesystem. I saw [#1023](https://github.com/apple/container/pull/1023) and the feedback from @dcantah — the previous attempt relied on tar being installed inside the container. This implementation takes the recommended approach: file transfers go through the guest agent via the existing `copyIn`/`copyOut` methods on the core `Containerization`, with no dependency on container tooling. ## Testing - [x] Tested locally - [x] Added/updated tests - [x] Added/updated docs --------- Co-authored-by: jwhur <57657645+JaewonHur@users.noreply.github.com>