inspect: reject docker transport image references #29334
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 167 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.307
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #29334"
general
weight: 0.35
Rajkaran-122
Summary
Update
podman inspectto rejectdocker://image references before inspect type resolution.This provides a clearer error for transport-qualified image references instead of allowing them to fail later with a generic unsupported transport message.
The validation also applies to
podman image inspect.An e2e test has been added to verify the new behavior.
Referenced issue:
Non-actionable error message: "unsupported transport \"docker\" for looking up local images" #20775
Checklist
Ensure you have completed the following checklist for your pull request to be reviewed:
git commit -s)Fixes: #00000in commit message (if applicable)make validatepr(format/lint checks)Does this PR introduce a user-facing change?
``
release-notepodman inspectWhen
orpodman image inspectis invoked withdocker://{image}, a clearer error is now returned instead of the generic unsupported transport error.
``