Sfoglia il codice sorgente

Merge pull request #23434 from thaJeztah/cherry-pick-increase-containerd-start-timeout

(cherry-pick) Increase containerd start-timeout to 2 minutes on master
Sebastiaan van Stijn 9 anni fa
parent
commit
a1f60b9db3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      libcontainerd/remote_linux.go

+ 1 - 0
libcontainerd/remote_linux.go

@@ -357,6 +357,7 @@ func (r *remote) runContainerdDaemon() error {
 		"--shim", "docker-containerd-shim",
 		"--shim", "docker-containerd-shim",
 		"--runtime", "docker-runc",
 		"--runtime", "docker-runc",
 		"--metrics-interval=0",
 		"--metrics-interval=0",
+		"--start-timeout", "2m",
 		"--state-dir", filepath.Join(r.stateDir, containerdStateDir),
 		"--state-dir", filepath.Join(r.stateDir, containerdStateDir),
 	}
 	}
 	if r.debugLog {
 	if r.debugLog {