How to get network status' from Dockerbeat from Containers using "host mode"?

(Ted) #1

Hi all
Im trying to ship Docker containers status' by dockerbeat, but can't get network status(no cpu, memory) from some containers using 'Network: host mode'.
How can I do this with dockerbeat?
Thanks for the help!

(Magnus B├Ąck) #2

When running containers with --network=host I'd assume it isn't possible to get container-specific stats. With the container using the host's network stack it functions like any other (non-containerized) process on the machine, doesn't it?

(system) #3