-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Running containers without defined or disabled health checks should not return "Health": {} #18792
Comments
Fixed: containers#18792 This will match Docker behaviour. ` Signed-off-by: Daniel J Walsh <[email protected]>
Is this just cosmetic or do you have an actual tool that parses the json output and depends on it? |
Actually the later. |
Ok and would just showing |
The script checks if there is a "Health": section and then assumes a health check must be in place. I already patched and removed the health check from the third party script since I don't know another way to detect if there is a health check in place or not with podman. |
The problem is we cannot do that without breaking the type which would break our stable API promise for pkg/bindings. Right now you could check for |
Makes sense, thanks for the insights! |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@ashley-cui Can this be closed? |
Yep closed via #21388 |
Issue Description
When running a container with podman that does not define any health check, the following state is returned.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
As with docker, I would expect that there is no "Health": section in the first place to indicate that this container is not running any health checks
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
similar looking
The text was updated successfully, but these errors were encountered: