docker-compose top

Usage: top [SERVICE...]

显示正在运行的进程。

$ 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
无花果组成组成码头工人编排cli顶部