Skip to content

Add ps subcommand to list project containers - #141

Open
adrum wants to merge 1 commit into
Mcrich23:mainfrom
adrum:feat/compose-ps
Open

Add ps subcommand to list project containers#141
adrum wants to merge 1 commit into
Mcrich23:mainfrom
adrum:feat/compose-ps

Conversation

@adrum

@adrum adrum commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Lists the compose project's containers in an aligned NAME/IMAGE/STATUS/PORTS table, showing only running containers unless -a/--all is passed. Containers are matched primarily by the com.docker.compose.project/service labels stamped since #126 (reliable across naming modes), falling back to the candidate container names for containers created before the labels existed.

Resolves the project through the shared ComposeProjectOptions (#138) and fails fast on unknown service names with the noSuchService contract #139 established for up.

Lists the compose project's containers in an aligned
NAME/IMAGE/STATUS/PORTS table, showing only running containers unless
-a/--all is passed. Containers are matched primarily by the
com.docker.compose.project/service labels stamped since Mcrich23#126 (reliable
across naming modes), falling back to the candidate container names for
containers created before the labels existed.

Resolves the project through the shared ComposeProjectOptions (Mcrich23#138)
and fails fast on unknown service names with the noSuchService
contract Mcrich23#139 established for up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant