github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/cp.md (about)

     1  # docker cp
     2  
     3  <!---MARKER_GEN_START-->
     4  Copy files/folders between a container and the local filesystem
     5  
     6  Use '-' as the source to read a tar archive from stdin
     7  and extract it to a directory destination in a container.
     8  Use '-' as the destination to stream a tar archive of a
     9  container source to stdout.
    10  
    11  ### Aliases
    12  
    13  `docker container cp`, `docker cp`
    14  
    15  ### Options
    16  
    17  | Name                  | Type | Default | Description                                                                                                  |
    18  |:----------------------|:-----|:--------|:-------------------------------------------------------------------------------------------------------------|
    19  | `-a`, `--archive`     |      |         | Archive mode (copy all uid/gid information)                                                                  |
    20  | `-L`, `--follow-link` |      |         | Always follow symbol link in SRC_PATH                                                                        |
    21  | `-q`, `--quiet`       |      |         | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
    22  
    23  
    24  <!---MARKER_GEN_END-->
    25