Skip to content

Commit 0f74808

Browse files
authored
fix: increase timeout for dockerd startup (#69)
1 parent 27d8e2d commit 0f74808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dockerutil/daemon.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import (
88
)
99

1010
// WaitForDaemon waits for a Docker daemon to startup. It waits a max
11-
// of 30s before giving up.
11+
// of 5m before giving up.
1212
func WaitForDaemon(ctx context.Context, client DockerClient) error {
1313
ticker := time.NewTicker(time.Millisecond * 250)
1414
defer ticker.Stop()
1515

16-
ctx, cancel := context.WithTimeout(ctx, time.Second*30)
16+
ctx, cancel := context.WithTimeout(ctx, time.Minute*5)
1717
defer cancel()
1818

1919
pingCtx, cancel := context.WithTimeout(ctx, time.Second)

0 commit comments

Comments
 (0)