Docker info shows wrong running container count while no container is running

Docker on MAC
Why Container and Running count is wrong ?

docker info command ( output is truncated to show only relevant part)

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 7
 Server Version: 24.0.7

Storage Driver: overlay2

docker ps -a ( shows nothing is running)
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

It looks like I have installed an Extension called (Dive-In) which was causing this. After I uninstalled extension, count is fine

Yes, containers of extensions are hidden by default and can be allowed in Docker Desktop settings. I haven’t noticed that the extension containers are included in the number of running containers when the containers are actually hidden. This is probably something that could be fixed the same way how the mount paths are changed in the api response when you run docker inspect containername, so you can see the host paths while the actual path that the docker daemon can see in the virtual machine is different.

If you want, you could report it on GitHub: