IssueRaiser

trigger restart from unhealthy status

## what It would be helpful if an action could be triggered when a service status is unhealthy. ## why It would be sane trigger an action for a container when a status is unhealthy. Tying this into the restart policy would make sense. Current alternatives appear to be listening to event changes from a third part script. That doesn't support simple scaling. ## ideal configuration combining * HEALTHCHECK command to toggle the health status * restart argument passed with `on-failure:N` that will restart the container once `failStreak` is N

Posted by t3h2mas on Nov 14, 2016, 6:31 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

support (Healthcare)

trigger restart from unhealthy status

t3h2masNov 14, 2016, 6:31 PM

## what It would be helpful if an action could be triggered when a service status is unhealthy. ## why It would be sane trigger an action for a container when a status is unhealthy. Tying this into the restart policy would make sense. Current alternatives appear to be listening to event changes from a third part script. That doesn't support simple scaling. ## ideal configuration combining * HEALTHCHECK command to toggle the health status * restart argument passed with `on-failure:N` that will restart the container once `failStreak` is N

Comments (0)

No comments yet. Start the discussion.

Comment on this issue