{"record":{"id":"b7d5f1abe5f4aa0b","repo":"nektos/act","slug":"failed-to-start-container-w","errorCode":null,"errorMessage":"failed to start container: %w","messagePattern":"failed to start container: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/container/docker_run.go","lineNumber":884,"sourceCode":"logger.Debugf(\"Starting container: %v\", cr.id)\n\nif _, err := cr.cli.ContainerStart(ctx, cr.id, client.ContainerStartOptions{}); err != nil {\n\treturn fmt.Errorf(\"failed to start container: %w\", err)\n}","sourceCodeStart":866,"sourceCodeEnd":902,"githubUrl":"https://github.com/nektos/act/blob/4f411281417e88660bea1c1a1749aa71ae0bd60f/pkg/container/docker_run.go#L866-L902","documentation":"Error \"failed to start container: %w\" thrown in nektos/act.","triggerScenarios":"Thrown at pkg/container/docker_run.go:884 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the wrapped Docker error (port conflicts, missing mounts, invalid entrypoint are common causes).","Verify ports used by the workflow are free on the host.","Ensure the image's entrypoint/cmd are valid for the container configuration."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4f411281417e88660bea1c1a1749aa71ae0bd60f","analyzedAt":"2026-08-15T09:19:46.307Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}