vxcontrol/pentagi · error
container delete command failed with exit code %d: %s
Error message
container delete command failed with exit code %d: %s
What it means
Error "container delete command failed with exit code %d: %s" thrown in vxcontrol/pentagi.
Source
Thrown at backend/pkg/server/services/flow_files.go:1360
return fmt.Errorf("failed to create container delete exec: %w", err)
}
resp, err := s.dockerClient.ContainerExecAttach(ctx, createResp.ID, client.ExecAttachOptions{})
if err != nil {
return fmt.Errorf("failed to attach container delete exec: %w", err)
}
output, copyErr := io.ReadAll(resp.Reader)
resp.Close()
if copyErr != nil {
return fmt.Errorf("failed to read container delete output: %w", copyErr)
}
inspect, err := s.dockerClient.ContainerExecInspect(ctx, createResp.ID)
if err != nil {
return fmt.Errorf("failed to inspect container delete exec: %w", err)
}
if inspect.ExitCode != 0 {
return fmt.Errorf("container delete command failed with exit code %d: %s", inspect.ExitCode, string(output))
}
return nil
}
func shellQuote(value string) string {
return "'" + strings.ReplaceAll(value, "'", "'\"'\"'") + "'"
}
// deduplicateContainerPaths returns a slice of trimmed, non-empty, unique
// container path strings, preserving first-occurrence order. Unlike
// flowfiles.DeduplicatePaths it applies no path.Clean or safety checks —
// those semantics are specific to host-side cache paths, not container-internal
// absolute paths.
func deduplicateContainerPaths(paths []string) []string {
seen := make(map[string]struct{}, len(paths))
result := make([]string, 0, len(paths))
for _, p := range paths {View on GitHub (pinned to ea665308ba)
When it happens
Trigger: Thrown at backend/pkg/server/services/flow_files.go:1360 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of vxcontrol/pentagi@ea665308ba (2026-09-01).
Data as JSON: /api/errors/70280978cfcaf806.
Report an issue: GitHub.