DOCKER-COMPOSE-EVENTS(1)
π docker-compose-events β bestie's guide to the vibes π
okay so this is the manual page for docker-compose-events from the docker-compose fam, and bestie, it's giving real time. it's literally in the DOCKER-COMPOSE-EVENTS(1) manual, and we're about to make it make sense. π«Ά
β¨ NAME β¨
docker-compose-events β Receive real time events from containers πΈ
no cap, that's the whole job. it watches your containers and tells you what they're doing, as they do it. main character energy for real.
π SYNOPSIS π
docker compose events [OPTIONS] [SERVICE...]
that's it. that's the whole incantation. type it and the tea starts pouring. β
π¦ DESCRIPTION π¦
Stream container events for every container in the project. every single one. you're not picking and choosing here, it's the whole group chat. π
now, the moment you add the --json flag, it switches the vibe: a json object is printed one per line, in this exact format:
{
"time": "2015-11-20T18:01:03.615550",
"type": "container",
"action": "create",
"id": "213cf7...5fc39a",
"service": "web",
"attributes": {
"name": "application_web_1",
"image": "alpine:edge"
}
}
look at that structure. time, type, action, id, service, and an attributes block holding name and image. gorgeous. iconic. no notes. πβ¨
and the events that can be received using this? you can see them here: β¨/reference/cli/docker/system/events/#object-typesβ©. go peek, iykyk. π
π OPTIONS π
-h,--help[=false]β help for events. your lil "wait what does this do again" button. π--json[=false]β Output events as a stream of json objects. flip this on when you want machine-readable receipts instead of vibes. π₯
π OPTIONS INHERITED FROM PARENT COMMANDS π
--dry-run[=false]β Execute command in dry run mode. a lil rehearsal before the real performance, bestie. no actual changes, just practice. π§
π SEE ALSO π
docker-compose(1)β the parent, the blueprint, the origin story. go read it, fr fr. π
π«Ά reminder from your girl: every flag, every value, every default above is exactly what the original says. don't @ me with "i thought it was different." it wasn't. periodt. π
and that's the whole page, bestie!! this was the docker-compose-events(1) manual, dated Mar 2025, and yeah the footer said DOCKER-COMPOSE-EVENTS(1) too because it loves symmetry. go stream some events, you ate. ππΈβ¨
π¦ 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