nektos/act · error

failed to inspect exec

Error message

failed to inspect exec: %w

What it means

Error "failed to inspect exec: %w" thrown in nektos/act.

Solutions

  1. Check the wrapped Docker error for why the exec inspection failed.
  2. Ensure the container and exec instance still exist when the inspection runs.

When it happens

Trigger: Thrown at pkg/container/docker_run.go:609 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/d9a444835947240b. Report an issue: GitHub.

Appendix: source

Thrown at pkg/container/docker_run.go:609

inspectResp, err := cr.cli.ExecInspect(ctx, idResp.ID, client.ExecInspectOptions{})
if err != nil {
	return fmt.Errorf("failed to inspect exec: %w", err)
}

View on GitHub (pinned to 4f41128141)