Skip to content

Compose down to accept a list of services - #4901

Merged
ChengyuZhu6 merged 1 commit into
containerd:mainfrom
ysedira:main
May 15, 2026
Merged

ChengyuZhu6 merged 1 commit into
containerd:mainfrom
ysedira:main

Conversation

@ysedira

@ysedira ysedira commented May 14, 2026 •

Copy link
Copy Markdown
Contributor

runing compose down <service-name> with a list of service names fails with an error unknown command <service-name> for down.

However, this work with docker-compose without an issue, and also work for compose up.

This PR address the issue by passing on args to downAction and if present, only specified services will be stoped and removed.

Signed-off-by: ysedira <y.abo.sedera@gmail.com>
@ysedira
ysedira marked this pull request as ready for review May 14, 2026 17:14
@ysedira ysedira changed the title Compose Down to accept a list of Services Compose down to accept a list of services May 14, 2026

@AkihiroSuda AkihiroSuda left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda added this to the v2.3.1 milestone May 14, 2026

@ChengyuZhu6 ChengyuZhu6 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ChengyuZhu6
ChengyuZhu6 merged commit d7d216f into containerd:main May 15, 2026
85 of 99 checks passed
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.

3 participants