scout_recommendations
Suggest base-image upgrades for an image, offering refresh and update recommendations to fix vulnerabilities.
Instructions
Suggest base-image upgrades for an image.
Computed against Docker Scout's catalog; generally needs docker login on the host that runs the
CLI (the target ssh:// host itself when no local scout plugin is installed) to return useful
results for private or rarely-scanned base images. The natural follow-up to scout_cves when the
fix is a newer base image.
Does not raise on a non-zero CLI exit (a missing scout plugin still raises) — inspect
raw.stderr.
args: image - Image reference only_refresh - Only show "refresh" recommendations (same major/minor) only_update - Only show "update" recommendations (newer minor/major) tag - Restrict to suggestions matching this tag pattern format - Output format: "json" (default) or "text" platform - Platform of the image to analyze returns: dict - {"format": , "result": , "raw": }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| image | Yes | ||
| format | No | json | |
| platform | No | ||
| only_update | No | ||
| only_refresh | No |