Skip to content

Wrong count for containers on home page #10508

Open
@sgrtye

Description

@sgrtye

Before you start please confirm the following.

Problem Description

The counter for containers does not match on home page and the environment detail page. The counter for containers works correctly for each environment but on the home page, the counter for running containers is the count of both running & healthy containers.

Expected Behavior

On the home page, the counter for running & healthy containers to be displayed correctly.

Actual Behavior

On the home page, the counter for running containers also counts for healthy containers, resulting in overcounting containers.

Steps to Reproduce

  1. Log into the WebUI.
  2. Count the containers.

Portainer logs or screenshots

20231016234751
20231016234807

Portainer version

2.19.1

Portainer Edition

Business Edition (BE/EE) with 5NF / 3NF license

Platform and Version

Docker 24.0.6

OS and Architecture

Ubuntu 22.04, ARM 64

Browser

Chrome Latest

What command did you use to deploy Portainer?

sudo docker run -d -p 9443:9443 --name=portainer \
    --restart=always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v portainer_data:/data \
    portainer/portainer-ee:alpine

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions