# docker compose cp

**Descripción:** Copy files/folders between a service container and the local filesystem

**Uso:** `docker compose cp [OPTIONS] SERVICE:SRC_PATH DEST_PATH|-
	docker compose cp [OPTIONS] SRC_PATH|- SERVICE:DEST_PATH`










## Descripción

Copy files/folders between a service container and the local filesystem


## Opciones

| Opción                                                        | Predeterminado                                        | Descripción                                                                                                                                    |
| ------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  | `--all` |  |  Include containers created by the run command |

 | `-a`, `--archive` |  |  Archive mode (copy all uid/gid information) |

 | `-L`, `--follow-link` |  |  Always follow symbol link in SRC_PATH |

 | `--index` |  |  Index of the container if service has multiple replicas |







