DOCKER(1) Docker User Manuals DOCKER(1)

# [NAME](#NAME)

docker-attach - Attach local standard input, output, and error streams to a running container

# [SYNOPSIS](#SYNOPSIS)

**docker attach \[OPTIONS] CONTAINER**

# [DESCRIPTION](#DESCRIPTION)

Alias for **docker container attach**.

# [OPTIONS](#OPTIONS)

**--detach-keys**="" Override the key sequence for detaching a container

**--no-stdin**\[=false] Do not attach STDIN

**--sig-proxy**\[=true] Proxy all received signals to the process

# [SEE ALSO](#SEE_ALSO)

[**docker(1)**](/man/os/docker-cli/docker.1)

Sep 2026 Docker Community

---

Document: docker-attach(1) from docker-cli 29.8.2-r0 (Chainguard OS)
Source: https://github.com/docker/cli
