Skip to content

Commit

Permalink
Merge pull request #11375 from vrothberg/fix-11346
Browse files Browse the repository at this point in the history
[CI:DOCS] podman cp: highlight globbing and multi-file copy
  • Loading branch information
openshift-merge-robot authored Aug 31, 2021
2 parents dc2a3e3 + d674eb4 commit bebaef2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/markdown/podman-cp.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Using `-` as the **src_path** streams the contents of `STDIN` as a tar archive.

Note that `podman cp` ignores permission errors when copying from a running rootless container. The TTY devices inside a rootless container are owned by the host's root user and hence cannot be read inside the container's user namespace.

Further note that `podman cp` does not support globbing (e.g., `cp dir/*.txt`). If you want to copy multiple files from the host to the container you may use xargs(1) or find(1) (or similar tools for chaining commands) in conjunction with `podman cp`. If you want to copy multiple files from the container to the host, you may use `podman mount CONTAINER` and operate on the returned mount point instead (see ALTERNATIVES below).

## OPTIONS

#### **--archive**, **-a**=**true** | *false*
Expand Down

0 comments on commit bebaef2

Please sign in to comment.