nektos/act · error
failed to copy content to container: %w
Error message
failed to copy content to container: %w
What it means
Error "failed to copy content to container: %w" thrown in nektos/act.
Source
Thrown at pkg/container/docker_run.go:729
// Copy Content
_, err = cr.cli.CopyToContainer(ctx, cr.id, client.CopyToContainerOptions{DestinationPath: destPath, Content: tarStream})
if err != nil {
return fmt.Errorf("failed to copy content to container: %w", err)
}View on GitHub (pinned to 4f41128141)
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.
When it happens
Trigger: Thrown at pkg/container/docker_run.go:729 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of nektos/act@4f41128141 (2026-08-15).
Data as JSON: /api/errors/b981edf34ec9ed31.
Report an issue: GitHub.