0

I am very confused about how the docker stats command is supposed to run, mostly because for me, it won't. According to their docs I should be able to execute dockers stats <id> and get information but I am only getting Error: Command not found: stats.

I can not find a single similar issue and am very confused as to why it would happen. For all intents and purposes this should work. When I run the command and docker gives the typical list of recommendations on the CLI, stats isn't even listed.

Is there any reason this command should fail? Is there some other package I need to install to make this comman run?

eignhpants
  • 129
  • 2
  • 7

1 Answers1

2

The stats API endpoint (and corresponding CLI command) was added in Docker v1.5. If that command is not listed as an option, you're likely running an older version, and will need to upgrade.

EEAA
  • 109,363
  • 18
  • 175
  • 245
  • yup. thats it. for some reason the docker site says to install in such a way that you get an older version. fixed thank you. – eignhpants Jul 24 '15 at 18:54