carta
docker-compose-attach(1)

docker-compose-attach1

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

Usage

docker compose attach [OPTIONS] SERVICE

Overview

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

Options

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

-h, --help[=false]
help for attach

--index=0
index of the container if service has multiple replicas.

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

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

Options inherited from parent commands

--dry-run[=false]
Execute command in dry run mode

From docker-compose 2.26.1-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.