container-compose ls¶
List Compose projects on the host.
Synopsis¶
Options¶
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--all |
-a |
flag | Include stopped projects | |
--quiet |
-q |
flag | Only display project names |
Examples¶
List active projects¶
Show all projects that have at least one running container.
List all projects¶
Show all projects, including those with only stopped containers.
Get project names only¶
Useful for scripting.