Docker Community Forums

Share and learn in the Docker community.

Docker system info - reports incorrect figures

I am trying to understand docker system info but it is reporting wrong figures.

For example, when I do docker ps, I have no container running, when I issue

docker system info --format ‘Number of containers running is: {{.ContainersRunning}}’

I get 18 containers running
Can you please explain what/why this different reporting as you can notice in the snapshot

PS \Powershell\scripts> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
PS \Powershell\scripts> docker system info --format ‘Number of containers running is: {{.ContainersRunning}}’
Number of containers running is: 18

Finally, if your issue has not been addressed elsewhere, running:

  • :whale: :arrow_right: Settings :arrow_right: Diagnose & Feedback :arrow_right: Open Issues.

This forum is not an official product support or issue reporting channel.

Dear Sir, I am confused with your reply, where should I report the issue? Thanks