Docker Container widget shows overall healthy even if a container in the group is unhealthy
- Dominant language
- Go
- Stars
- 37.1k
- Forks
- 1.5k
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 1
Description
### Description
When grouping multiple containers of a service and one of the child services is in the "unhealthy" state, the overall state of the service is still shown as "OK".
The unhealthy state should be reflected, just like a child container that is not running.
I'm using Glance 0.8.5, installed via docker compose on my home server.
The config for the widget is just this:
```yaml
- name: Home
columns:
- size: small
widgets:
- type: docker-containers
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Docker containers widget with the provided YAML configuration, grouping multiple containers where one is unhealthy and another is running. Trace how the widget calculates the group's overall state; done means an unhealthy child makes the group unhealthy, like a non-running child, while healthy groups remain OK.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops, observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100