mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
a3879fc169
- When invoked from docker, endpoint.Statistics() returns the statistics of the host's interfaces. Issue is tracked down to ioutil.ReadFile(). For some reason even if invoked from inside the sandbox netns, it ends up reading the stats file from the default netns, when invoked from docker. If same operation is run from inside a dedicated binary, it works as expected. - Replacing it with exec.Command("cat", <file>) solves the issue Signed-off-by: Alessandro Boch <aboch@docker.com> |
||
---|---|---|
libnetwork |