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:
parent
4a8519ba29
commit
42f9c25b51
1 changed files with 2 additions and 2 deletions
|
@ -349,9 +349,9 @@ func (r *remote) runContainerdDaemon() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start a new instance
|
// 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 {
|
if r.debugLog {
|
||||||
args = append(args, "--debug", "--metrics-interval=0")
|
args = append(args, "--debug")
|
||||||
}
|
}
|
||||||
if len(r.runtimeArgs) > 0 {
|
if len(r.runtimeArgs) > 0 {
|
||||||
for _, v := range r.runtimeArgs {
|
for _, v := range r.runtimeArgs {
|
||||||
|
|
Loading…
Add table
Reference in a new issue