Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Docker stats should default to showing stats for all running containers #16105

Closed
shishir-a412ed opened this issue Sep 6, 2015 · 3 comments

Comments

@shishir-a412ed
Copy link
Contributor

Description of problem:
Currently 'docker stats' requires one or more container IDs/names in order to report said stats.

Running just 'docker stats' should imply the user wants to see stats for all currently running containers.

Version-Release number of selected component (if applicable):
docker-1.7.1-108.el7.x86_64

How reproducible:
Always

Steps to Reproduce:

  1. Run 'docker stats' with no container IDs

Actual results:

No stats are shown:

docker stats

docker: "stats" requires a minimum of 1 argument.
See 'docker stats --help'.

Usage: docker stats [OPTIONS] CONTAINER [CONTAINER...]

Expected results:

Stats for all running containers should be shown

Additional info:

Running 'docker stats $(docker ps -q)' serves this same function, so this more of an ease-of-use request.

@runcom
Copy link
Member

runcom commented Sep 6, 2015

this is a dup of #10772 which I'm working on to fix
I'm going to close this

@runcom
Copy link
Member

runcom commented Sep 6, 2015

PR is here #13227 but closed for now since I'm still working on it

@runcom runcom closed this as completed Sep 6, 2015
@shishir-a412ed
Copy link
Contributor Author

@runcom
thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants