1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Always disable containerd metrics when started by docker

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-04-19 13:37:18 -07:00
parent 4a8519ba29
commit 42f9c25b51

View file

@ -349,9 +349,9 @@ func (r *remote) runContainerdDaemon() error {
}
// Start a new instance
args := []string{"-l", r.rpcAddr, "--runtime", "docker-runc"}
args := []string{"-l", r.rpcAddr, "--runtime", "docker-runc", "--metrics-interval=0"}
if r.debugLog {
args = append(args, "--debug", "--metrics-interval=0")
args = append(args, "--debug")
}
if len(r.runtimeArgs) > 0 {
for _, v := range r.runtimeArgs {