-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
compat container stats endpoint does not stream if container is not yet started #16225
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
A friendly reminder that this issue had no activity for 30 days. |
@mheon PTAL |
A friendly reminder that this issue had no activity for 30 days. |
@mheon any chance to work on this one? |
Not yet |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Container stats ( compat ) endpoint does not stream empty stats if the container is not yet started, while this is working for Docker stats endpoint.
Related: #14580
Steps to reproduce the issue:
id=$(podman create -t nginx)
curl -X GET --unix-socket /run/podman/podman.sock "http://d/containers/$id/stats?stream=true"
Describe the results you received:
200 response, stream is not opened...
Describe the results you expected:
Stream is opened...
Additional information you deem important (e.g. issue happens only occasionally):
Reproducer for Docker:
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
AWS EC2 instance, /var/lib/containers/storage/ mounted from EBS running Fedora CoreOS 36.20220820.3.0
The text was updated successfully, but these errors were encountered: