mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
This allows for easier copying of the commands, without selecting the prompt. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
26 lines
474 B
Markdown
26 lines
474 B
Markdown
---
|
|
description: Displays the running processes.
|
|
keywords: fig, composition, compose, docker, orchestration, cli, top
|
|
title: docker-compose top
|
|
notoc: true
|
|
---
|
|
|
|
```none
|
|
Usage: top [SERVICE...]
|
|
```
|
|
|
|
Displays the running processes.
|
|
|
|
```console
|
|
$ docker-compose top
|
|
compose_service_a_1
|
|
PID USER TIME COMMAND
|
|
----------------------------
|
|
4060 root 0:00 top
|
|
|
|
compose_service_b_1
|
|
PID USER TIME COMMAND
|
|
----------------------------
|
|
4115 root 0:00 top
|
|
```
|