We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d8e2d commit 0f74808Copy full SHA for 0f74808
dockerutil/daemon.go
@@ -8,12 +8,12 @@ import (
8
)
9
10
// WaitForDaemon waits for a Docker daemon to startup. It waits a max
11
-// of 30s before giving up.
+// of 5m before giving up.
12
func WaitForDaemon(ctx context.Context, client DockerClient) error {
13
ticker := time.NewTicker(time.Millisecond * 250)
14
defer ticker.Stop()
15
16
- ctx, cancel := context.WithTimeout(ctx, time.Second*30)
+ ctx, cancel := context.WithTimeout(ctx, time.Minute*5)
17
defer cancel()
18
19
pingCtx, cancel := context.WithTimeout(ctx, time.Second)
0 commit comments