For now, docker stats appears to be libcontainer only
| ... | ... |
@@ -13,6 +13,8 @@ docker-stats - Display a live stream of one or more containers' resource usage s |
| 13 | 13 |
|
| 14 | 14 |
Display a live stream of one or more containers' resource usage statistics |
| 15 | 15 |
|
| 16 |
+Note: this functionality currently only works when using the *libcontainer* exec-driver. |
|
| 17 |
+ |
|
| 16 | 18 |
# OPTIONS |
| 17 | 19 |
**--help** |
| 18 | 20 |
Print usage statement |
| ... | ... |
@@ -523,6 +523,8 @@ Status Codes: |
| 523 | 523 |
|
| 524 | 524 |
This endpoint returns a live stream of a container's resource usage statistics. |
| 525 | 525 |
|
| 526 |
+> **Note**: this functionality currently only works when using the *libcontainer* exec-driver. |
|
| 527 |
+ |
|
| 526 | 528 |
**Example request**: |
| 527 | 529 |
|
| 528 | 530 |
GET /containers/redis1/stats HTTP/1.1 |
| ... | ... |
@@ -2028,6 +2028,8 @@ more details on finding shared images from the command line. |
| 2028 | 2028 |
|
| 2029 | 2029 |
--help=false Print usage |
| 2030 | 2030 |
|
| 2031 |
+> **Note**: this functionality currently only works when using the *libcontainer* exec-driver. |
|
| 2032 |
+ |
|
| 2031 | 2033 |
Running `docker stats` on multiple containers |
| 2032 | 2034 |
|
| 2033 | 2035 |
$ sudo docker stats redis1 redis2 |