Skip to content

Fix image removal lookup#1870

Open
culpen90 wants to merge 2 commits into
apple:mainfrom
culpen90:fix/image-rm-lookup
Open

Fix image removal lookup#1870
culpen90 wants to merge 2 commits into
apple:mainfrom
culpen90:fix/image-rm-lookup

Conversation

@culpen90

Copy link
Copy Markdown

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Image removal should accept the same identifiers users copy from container image list. Previously, deletion lookup could miss unique default-registry display names such as ubuntu for docker.io/library/ubuntu:22.04, and digest prefixes shown in list output.

This updates image matching to resolve unique displayed names and digest prefixes, avoid ambiguous matches, and preserve locally built image annotation preference.

Fixes #107.

Testing

  • Tested locally

  • Added/updated tests

  • Added/updated docs

  • swift test --filter ContainerAPIClientTests

@culpen90 culpen90 marked this pull request as ready for review June 30, 2026 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: internalError: "failed to delete one or more images: ["ubuntu"]"

1 participant