container icon indicating copy to clipboard operation
container copied to clipboard

Fix image removal lookup

Open culpen90 opened this issue 5 months ago • 0 comments

Type of Change

  • [x] 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

  • [x] Tested locally

  • [x] Added/updated tests

  • [ ] Added/updated docs

  • swift test --filter ContainerAPIClientTests

culpen90 avatar Jun 30 '26 00:06 culpen90