DOCKER-COMPOSE-LOGS(1)
β¨ docker-compose-logs β¨
ok so bestie, welcome to the manual page for docker-compose-logs π (that's the docker compose logs command, in case the hyphen situation was confusing you, it confused me too, we move on)
πΈ NAME πΈ
docker-compose-logs β View output from containers πβ¨
like. the logs. from your containers. we're reading them. that's the whole vibe.
π SYNOPSIS π
docker compose logs [OPTIONS] [SERVICE...]
π¦ DESCRIPTION π¦
Displays log output from services π
that's it. that's the description. short and iconic, she ate and left no crumbs.
π OPTIONS π
okay this is the part you actually came for, no skipping, I know you were gonna skip, don't. every single one is here π«Ά
-f,--follow[=false]β Follow log output. like, it keeps going and going and going instead of just dumping what's there and dipping. main character energy fr π₯-h,--help[=false]β help for logs π₯Ί (it literally just helps you, bestie)--index=0β index of the container if service has multiple replicas π if your service is out here with a whole friend group of copies, this is how you point at one specific one--no-color[=false]β Produce monochrome output π no rainbow, just grey. for when you're piping stuff somewhere that can't handle the aesthetic--no-log-prefix[=false]β Don't print prefix in logs π strips off the little "which service is this even from" label at the start of each line--since=""β Show logs since timestamp (e.g.2013-01-02T13:23:37Z) or relative (e.g.42mfor 42 minutes) β° give me the lore starting from here-n,--tail="all"β Number of lines to show from the end of the logs for each container π the default is literally"all", so she's generous-t,--timestamps[=false]β Show timestamps β¨ little time stamps on every line so you know when the chaos happened--until=""β Show logs before a timestamp (e.g.2013-01-02T13:23:37Z) or relative (e.g.42mfor 42 minutes) π°οΈ the cut-off point, nothing after this, we're done here
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
yes she got these from her mom (the parent command) π
--dry-run[=false]β Execute command in dry run mode π» do the thing without actually doing the thing. practice run. rehearsal. dress rehearsal energy.
β SEE ALSO β
docker-compose(1)β the whole family, go meet her relatives π«Ά
π reminder bestie: options are exactly as written, defaults are exactly as written, don't go renaming anything, the command is not gonna forgive you
okay that's the whole page, you're officially educated, go read some logs, I'm so proud of you πΈπ¦π
this little love letter to container output is from the DOCKER-COMPOSE-LOGS(1) manual, dated Mar 2025, and honestly? iconic of her. mwah. π
π¦ where this page comes from
- debian trixie: docker-compose 2.26.1-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms