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
I searched existing issues before opening this one
Expected behavior
When you send a signal to container (particularly SIGUSR1), it should not affect
health status of the container. Affected docker versions: 18.xx
Actual behavior
If you have a valid healthcheck for a container defined, and it reports that your container is healthy, after sending a SIGHUP or SIGUSR1 to the container, docker inspect reports after that that the container is in unhealthy status, while there is no way that the signal could've affected the healthcheck. docker ps output still reports that the container is healthy.
Steps to reproduce the behavior
Create a simple container with a healthcheck that always succeeds:
This bug affects docker versions 18.xx and 17.12.0, 17.09.1 works as expected (i.e. sending SIGUSR1 or SIGHUP to the sample container above does not affect its' health status).
Was also tested on vanilla ubuntu 18.04 with docker 18.xx, 17.12.0 and 17.09.1.
The text was updated successfully, but these errors were encountered:
Expected behavior
When you send a signal to container (particularly SIGUSR1), it should not affect
health status of the container. Affected docker versions: 18.xx
Actual behavior
If you have a valid healthcheck for a container defined, and it reports that your container is healthy, after sending a SIGHUP or SIGUSR1 to the container, docker inspect reports after that that the container is in unhealthy status, while there is no way that the signal could've affected the healthcheck. docker ps output still reports that the container is healthy.
Steps to reproduce the behavior
Create a simple container with a healthcheck that always succeeds:
And here is the entry.sh script:
Build and run this container:
docker build -t health_check_test .
docker run -d -t --name healthCheckTest health_check_test:latest
Now inspect its' health status:
Send a signal to the container and check its' status afterwards
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
This bug affects docker versions 18.xx and 17.12.0, 17.09.1 works as expected (i.e. sending SIGUSR1 or SIGHUP to the sample container above does not affect its' health status).
Was also tested on vanilla ubuntu 18.04 with docker 18.xx, 17.12.0 and 17.09.1.
The text was updated successfully, but these errors were encountered: