ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
268 stars 34 forks source link

wrong image count #21

Closed PD75 closed 3 years ago

PD75 commented 3 years ago
sensor.docker_images 23 friendly_name: Docker Images icon: mdi:docker

I have 9 images, not 23....

image

ualex73 commented 3 years ago

I get the sensor information from the Docker API directly, it is equal to: docker images -a

I think your docker images results 9 and docker images -a returns 23.

The API has no other quick/simple way of filtering out the intermediate images.

ualex73 commented 3 years ago

Currently it works as-is, i am happy to accept a PR.

PD75 commented 3 years ago

Hmm, I see what you mean. I will investigate and see if it is something I can do. Will closer this in the mean time.