Am having a problem with Docker Desktop on my home internet and I believe it’s because my home internet is too slow and causing timeouts while trying to start Kubernetes. Is there a way to increase related timeouts to starting Kubernetes from within Docker Desktop?
Here is the error that is dumped in C:\Users\username\AppData\Local\Docker\log\host\com.docker.backend.exe.log when Kubernetes fails to start and then retries:
[2023-07-25T17:23:23.304597100Z][com.docker.backend.exe.wslengine][I] WSLKubernetesEvent: handling kubernetes state change starting -> failed to start
[2023-07-25T17:23:23.304597100Z][com.docker.backend.exe.wslengine][W] WSLKubernetesEvent: %!s(<nil>)
[2023-07-25T17:23:23.304597100Z][com.docker.backend.exe.handlers/events][E] a receiver failed to handle event 1 error occurred:
* starting kubernetes: starting kubernetes: Post "http://ipc/kubernetes/start": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
[common/cmd/com.docker.backend/internal/handlers/events.(*Handler).PushEvent(0xc0001528c0, {0x17752b9e67ac250e, 0x0, {0xc00084f4a0, 0x12}, {0xc000b10ea0, 0x7}, {0x0, 0x0}, {0x0, ...}, ...})
[ common/cmd/com.docker.backend/internal/handlers/events/events.go:85 +0x33f
[common/cmd/com.docker.backend/internal/handlers/events.(*Handler).Push(0xc0001528c0, {0x265c270, 0xc000da8340})
[ common/cmd/com.docker.backend/internal/handlers/events/events.go:55 +0x225
[github.com/labstack/echo/v4.(*Echo).add.func1({0x26616e8, 0xc000c24820})
[ github.com/labstack/echo/v4@v4.10.2/echo.go:575 +0x51
[common/pkg/telemetry/middleware.Middleware.func1.1.2({0xc000595ec0?, 0x263ccb0?})
[ common/pkg/telemetry/middleware/middleware.go:31 +0x25
[go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho.Middleware.func1.1({0x26616e8, 0xc000c24820})
[ go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho@v0.40.0/echo.go:92 +0x72a
[common/pkg/telemetry/middleware.Middleware.func1.1({0x265c270, 0xc000da81a0})
[ common/pkg/telemetry/middleware/middleware.go:33 +0x522
[github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1({0x26616e8, 0xc000c24820})
[ github.com/labstack/echo/v4@v4.10.2/middleware/recover.go:119 +0xfe
[github.com/labstack/echo/v4.(*Echo).ServeHTTP(0xc000480000, {0x263bc10?, 0xc000876620}, 0xc000e89f00)
[ github.com/labstack/echo/v4@v4.10.2/echo.go:662 +0x3d1
[net/http.serverHandler.ServeHTTP({0x262c900?}, {0x263bc10, 0xc000876620}, 0xc000e89f00)
[ net/http/server.go:2936 +0x316
[net/http.(*conn).serve(0xc000e53290, {0x263cd58, 0xc0008d5ad0})
[ net/http/server.go:1995 +0x612
[created by net/http.(*Server).Serve
[ net/http/server.go:3089 +0x5ed