You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-03-14 10:15:40.634147812 +0100 CET image pull e3baba8bcaa61ab3c082342db565b78fadbaddd497b3bbb77d81d0812f818793 busybox:stable-uclibc
2025-03-14 10:15:40.814148546 +0100 CET container health_status 724ab58135f3dd25b5047c566a5c4d3d1b9cdc7adc1e869cbd91ea8a095071cd (image=docker.io/library/busybox:stable-uclibc, name=busybox, health_status=starting, health_failing_streak=0, health_log=)
2025-03-14 10:15:51.661471875 +0100 CET container health_status 724ab58135f3dd25b5047c566a5c4d3d1b9cdc7adc1e869cbd91ea8a095071cd (image=docker.io/library/busybox:stable-uclibc, name=busybox, health_status=starting, health_failing_streak=1, health_log=)
2025-03-14 10:16:02.651278492 +0100 CET container health_status 724ab58135f3dd25b5047c566a5c4d3d1b9cdc7adc1e869cbd91ea8a095071cd (image=docker.io/library/busybox:stable-uclibc, name=busybox, health_status=starting, health_failing_streak=2, health_log=)
2025-03-14 10:16:10.712806687 +0100 CET container died 724ab58135f3dd25b5047c566a5c4d3d1b9cdc7adc1e869cbd91ea8a095071cd (image=docker.io/library/busybox:stable-uclibc, name=busybox)
2025-03-14 10:16:10.782786938 +0100 CET container remove 724ab58135f3dd25b5047c566a5c4d3d1b9cdc7adc1e869cbd91ea8a095071cd (image=docker.io/library/busybox:stable-uclibc, name=busybox)
This means that a healthcheck has been run right after starting the container (as it says on the tin, but still weird) and then every 10s until the container is considered to be dead.
Describe the results you expected
I expected that the first healthcheck is run after the period given by --health-start-period. After consulting the docs, I instead expected to see a second healtcheck (after the failing inital one) after the period given by --health-start-period.
After reading the docs once more, I think I understood that --health-start-period is not about running an additional healthcheck after this start period, but it's about the health state of the container ("starting", "healthy", "unhealthy"), right?
Issue Description
The value for
--health-start-period
given topodman run
seems to be ignored.Steps to reproduce the issue
I used the following
Makefile
to reproduce the issue:make run
starts the containermake watch
shows me the healthcheck events.Describe the results you received
What I see is this:
This means that a healthcheck has been run right after starting the container (as it says on the tin, but still weird) and then every 10s until the container is considered to be dead.
Describe the results you expected
I expected that the first healthcheck is run after the period given by
--health-start-period
. After consulting the docs, I instead expected to see a second healtcheck (after the failing inital one) after the period given by--health-start-period
.podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: