我已经使用 Rancher 几个星期了,但我从来没有设法让 Utilization Stats 为容器工作。它只是坐在那里说正在连接...
利用率统计信息适用于主机,但不适用于容器。
Rancher Agent 与主机在同一台机器上,所以我使用 -e CATTLE_AGENT_IP=192.168.0.202 (Host and agent IP) 启动它,但仍然没有。
我还尝试在第二台服务器上使用 Debian VM,但遇到了同样的问题。
在我的个人机器上运行 Windows docker quickstart 终端并将其用作代理,但奇怪的是确实有效。
无论我选择托管网络还是桥接,都会发生同样的事情。
我已经找了几个星期,但没有找到可靠的答案,任何帮助将不胜感激,谢谢。
主机信息:
Containers: 13
Running: 9
Paused: 0
Stopped: 4
Images: 419
Server Version: 1.11.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 366
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 3.16.0-4-amd64
Operating System: Debian GNU/Linux 8 (jessie)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.824 GiB
Name: docker-master
ID: RWV7:2ZB4:RSVP:252L:IHNV:NKO7:OAXL:UNXV:7G5F:HWLX:BAMZ:75TK
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Username: monkstick
Registry: https://index.docker.io/v1/
WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
Docker 快速入门终端(有效的)
$ docker info
Containers: 6
Running: 2
Paused: 0
Stopped: 4
Images: 6
Server Version: 1.11.1
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 76
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge null host
Kernel Version: 4.4.8-boot2docker
Operating System: Boot2Docker 1.11.1 (TCL 7.0); HEAD : 7954f54 - Wed Apr 27 16:36:45 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.9 MiB
Name: default
ID: MXGF:WKLT:6DNK:I2GI:QUOK:TRRE:J32A:QEFX:PQTB:OX6S:UF3R:4325
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug mode (client): false
Debug mode (server): true
File Descriptors: 27
Goroutines: 49
System Time: 2016-05-31T13:06:53.122903718Z
EventsListeners: 1
Registry: https://index.docker.io/v1/
Labels:
provider=virtualbox