Disable streaming stats and only pull the current stats

docker stats

  • Display a live stream of resource usage statistics for containers.
    More information: <https://docs.docker.com/engine/reference/commandline/stats/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

docker stats --no-stream

click the source code to copy install docker stats on any operating system with command-not-found.com