Description
when I use ‘docker stats’ for view how many resouces used by containers , but it's only show like below
CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
656c012d756c -- -- / -- -- -- / -- -- / -- --
Steps to reproduce the issue:
- OS:centos7.2 or redhat7.2 with docker 1.12.1 or higher
2.update kernel version to "3.10.0-493.el7.x86_64"
3.docker run nginx (or other images)
4.docker stats
Describe the results you received:
CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
656c012d756c -- -- / -- -- -- / -- -- / -- --
Describe the results you expected:
CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
32a65d2fd47c 0.00% 11.88 MiB / 1.797 GiB 0.65% 367 kB / 6.476 MB 14.72 MB / 0 B 0
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
[root@slave02 ~]# docker version
Client:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built:
OS/Arch: linux/amd64
Server:
Version: 1.12.2
API version: 1.24
Go version: go1.6.3
Git commit: bb80604
Built:
OS/Arch: linux/amd64
Output of docker info:
[root@slave02 ~]# docker info
Containers: 1
Running: 1
Paused: 0
Stopped: 0
Images: 59
Server Version: 1.12.2
Storage Driver: overlay
Backing Filesystem: xfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-493.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.702 GiB
Name: slave02
ID: GB5Z:TNP2:ANJK:R5IW:C54J:QBVO:6Q23:WVGQ:JF7M:LCIR:E5UI:T3Y5
Docker Root Dir: /data/docker
Debug Mode (client): false
Debug Mode (server): false
Additional environment details (AWS, VirtualBox, physical, etc.):
My VirtualBox version is 5.0.14 r105127
mac 10.12.1
I reproduce this on vmware6.0
Description
when I use ‘docker stats’ for view how many resouces used by containers , but it's only show like below
Steps to reproduce the issue:
2.update kernel version to "3.10.0-493.el7.x86_64"
3.docker run nginx (or other images)
4.docker stats
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version:Output of
docker info:Additional environment details (AWS, VirtualBox, physical, etc.):
My VirtualBox version is 5.0.14 r105127
mac 10.12.1
I reproduce this on vmware6.0