# docker compose attach

**Descripción:** Attach local standard input, output, and error streams to a service's running container


**Uso:** `docker compose attach [OPTIONS] SERVICE`










## Descripción

Attach local standard input, output, and error streams to a service's running container



## Opciones

| Opción                                                        | Predeterminado                                        | Descripción                                                                                                                                    |
| ------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  | `--detach-keys` |  |  Override the key sequence for detaching from a container. |

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

 | `--no-stdin` |  |  Do not attach STDIN |

 | `--sig-proxy` | `true` |  Proxy all received signals to the process |







