{"record":{"id":"b981edf34ec9ed31","repo":"nektos/act","slug":"failed-to-copy-content-to-container-w","errorCode":null,"errorMessage":"failed to copy content to container: %w","messagePattern":"failed to copy content to container: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/container/docker_run.go","lineNumber":729,"sourceCode":"// Copy Content\n_, err = cr.cli.CopyToContainer(ctx, cr.id, client.CopyToContainerOptions{DestinationPath: destPath, Content: tarStream})\nif err != nil {\n\treturn fmt.Errorf(\"failed to copy content to container: %w\", err)\n}","sourceCodeStart":711,"sourceCodeEnd":747,"githubUrl":"https://github.com/nektos/act/blob/4f411281417e88660bea1c1a1749aa71ae0bd60f/pkg/container/docker_run.go#L711-L747","documentation":"Error \"failed to copy content to container: %w\" thrown in nektos/act.","triggerScenarios":"Thrown at pkg/container/docker_run.go:729 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the wrapped Docker error for the copy failure cause (permissions, stopped container, disk space).","Ensure the source content path exists on the host and is readable."],"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-15T22:17:37.221Z"}