Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman ps -p doesn't show pod name #4703

Closed
abitrolly opened this issue Dec 14, 2019 · 0 comments · Fixed by #4748
Closed

podman ps -p doesn't show pod name #4703

abitrolly opened this issue Dec 14, 2019 · 0 comments · Fixed by #4748
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@abitrolly
Copy link
Contributor

/kind bug

  -p, --pod              Print the ID and name of the pod the containers are associated with
✗ podman pod ps
POD ID         NAME   STATUS    CREATED       # OF CONTAINERS   INFRA ID
edcadf4c6b16   pg     Running   5 hours ago   2                 e12e2aaf6752
✗ podman ps -p           
CONTAINER ID  IMAGE                             COMMAND    CREATED      STATUS          PORTS  NAMES            POD
16c0745a0660  docker.io/heroku/heroku:18-build  /bin/bash  5 hours ago  Up 5 hours ago         beautiful_euler  edcadf4c6b16

Output of podman version:

Version:            1.6.2
RemoteAPI Version:  1
Go Version:         go1.13.1
OS/Arch:            linux/amd64

Package info (e.g. output of rpm -q podman or apt list podman):

podman-1.6.2-2.fc31.x86_64
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 14, 2019
@rhatdan rhatdan added the Good First Issue This issue would be a good issue for a first time contributor to undertake. label Dec 16, 2019
NevilleC added a commit to NevilleC/libpod that referenced this issue Dec 27, 2019
The pod name does not appear when doing `podman ps -p`.
It is missing as the documentation says:
-p, --pod              Print the ID and name of the pod the containers are associated with

The pod name is added in the ps output and checked in unit tests.

Closes containers#4703

Signed-off-by: NevilleC <neville.cain@qonto.eu>
openshift-merge-robot added a commit that referenced this issue Dec 29, 2019
[Issue #4703] Add the pod name when we use `podman ps -p`
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants