{"record":{"id":"d691159c172712c7","repo":"juanfont/headscale","slug":"s-could-not-start-tailscale-container-version-d69115","errorCode":null,"errorMessage":"%s could not start tailscale container (version: %s): %w\n\nUnable to get diagnostic build output (command may have failed silently)","messagePattern":"(.+?) could not start tailscale container \\(version: (.+?)\\): %w\n\nUnable to get diagnostic build output \\(command may have failed silently\\)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/tsic/tsic.go","lineNumber":535,"sourceCode":"\t\t\t\t\t\tmaxLines,\n\t\t\t\t\t\trelevantOutput,\n\t\t\t\t\t)\n\t\t\t\t}\n\n\t\t\t\tif buildOutput != \"\" {\n\t\t\t\t\t// Build succeeded on retry but container creation still failed\n\t\t\t\t\treturn nil, fmt.Errorf(\n\t\t\t\t\t\t\"%s could not start tailscale container (version: %s): %w\\n\\nDocker build succeeded on retry, but container creation failed. Last %d lines of build output:\\n%s\",\n\t\t\t\t\t\thostname,\n\t\t\t\t\t\tversion,\n\t\t\t\t\t\terr,\n\t\t\t\t\t\tmaxLines,\n\t\t\t\t\t\trelevantOutput,\n\t\t\t\t\t)\n\t\t\t\t}\n\n\t\t\t\t// No output at all - diagnostic build command may have failed\n\t\t\t\treturn nil, fmt.Errorf(\n\t\t\t\t\t\"%s could not start tailscale container (version: %s): %w\\n\\nUnable to get diagnostic build output (command may have failed silently)\",\n\t\t\t\t\thostname,\n\t\t\t\t\tversion,\n\t\t\t\t\terr,\n\t\t\t\t)\n\t\t\t}\n\t\t}\n\tcase \"unstable\":\n\t\t// ghcr.io/tailscale/tailscale:unstable is stale (last updated\n\t\t// 2022); only tailscale/tailscale on Docker Hub publishes\n\t\t// current unstable builds.\n\t\ttailscaleOptions.Repository = \"tailscale/tailscale\"\n\t\ttailscaleOptions.Tag = version\n\n\t\terr = dockertestutil.PullWithAuth(pool, tailscaleOptions.Repository+\":\"+tailscaleOptions.Tag)\n\t\tif err != nil {\n\t\t\t//nolint:gosec // G706: tag value is from MustTestVersions, not external input\n\t\t\tlog.Printf(\"Pull failed for %s:%s, error: %v\", tailscaleOptions.Repository, tailscaleOptions.Tag, err)","sourceCodeStart":517,"sourceCodeEnd":553,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/tsic/tsic.go#L517-L553","documentation":"Error \"%s could not start tailscale container (version: %s): %w\n\nUnable to get diagnostic build output (command may have failed silently)\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/tsic/tsic.go:535 when the library encounters an invalid state.","commonSituations":"The tailscale container failed to start and no diagnostic build output could be captured. Check Docker daemon health and image availability manually.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (could not start tailscale container (version); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (could not start tailscale container (version); retry the operation after fixing the input, configuration, or environment.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"565fd254d06c4c7f9a8cad1714a43445c79ba420","analyzedAt":"2026-08-15T13:12:30.133Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}