DOCKER-COMPOSE-ATTACH(1)

πŸ“¦ version 2.26.1, in debian trixie

πŸ’… DOCKER-COMPOSE-ATTACH(1) πŸ’…

okay bestie, welcome to docker-compose-attach, the manual page. yes the whole page is literally about one little command and honestly? she's iconic for it.


✨ NAME ✨

docker-compose-attach β€” attach your local standard input, output, and error streams to a service's running container 🫢


🌸 SYNOPSIS 🌸

docker compose attach [OPTIONS] SERVICE

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: docker-compose-attach takes your local standard input, standard output, and standard error streams and glues them straight onto a service's running container. that's it. that's the whole thing. you're basically sliding into the container's DMs in real time πŸ’¬βœ¨

like, your keyboard goes in, the container's output comes out. main character energy for your terminal fr fr.


πŸ’– OPTIONS πŸ’–

  • --detach-keys="" β€” override the key sequence you use to detach from a container. yes, you get to pick your own escape combo, lowkey iconic πŸŽ€
  • -h, --help[=false] β€” help for attach. she's giving "explain yourself" ✨
  • --index=0 β€” the index of the container, for when a service has multiple replicas and you need to pick your fave 😭
  • --no-stdin[=false] β€” do not attach STDIN. output only, no talking back πŸ™ˆ
  • --sig-proxy[=true] β€” proxy all received signals to the process. defaults to true, so the signals are getting forwarded, no cap πŸ”₯

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • --dry-run[=false] β€” execute the command in dry run mode. rehearsal era, nothing actually happens, it's giving dress rehearsal πŸ’…

🌈 SEE ALSO 🌈


that's the whole page bestie, every flag accounted for, nothing skipped, periodt πŸ’œ

sign-off: this was DOCKER-COMPOSE-ATTACH(1), dated Mar 2025, from the Docker Compose crew. stay hydrated, read your manpages, and detach responsibly πŸ“βœ¨

πŸ“¦ where this page comes from