Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

compose ps list stopped containers. -a is used to include oneoff - #1649

Merged
ndeloof merged 1 commit into
docker-archive:mainfrom
ndeloof:ps_all
May 6, 2021
Merged

ndeloof merged 1 commit into
docker-archive:mainfrom
ndeloof:ps_all

Conversation

@ndeloof

@ndeloof ndeloof commented May 6, 2021

Copy link
Copy Markdown
Collaborator

What I did
Fix behaviour of compose ps -a flag, so that ps always list stopped services, and -a is used to also include one_off containers (created by run command)

Related issue
close #1552

@github-actions github-actions Bot added the local Local context (moby) label May 6, 2021
@ndeloof
ndeloof requested a review from lorenrh May 6, 2021 09:20
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>

@lorenrh lorenrh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yaay 🌮

@ndeloof
ndeloof merged commit 59efedf into docker-archive:main May 6, 2021
@ndeloof
ndeloof deleted the ps_all branch May 6, 2021 10:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

local Local context (moby)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker compose ps does not show the stopped/exited containers

2 participants