Skip to content

Change to removing images by name#1803

Merged
bwateratmsft merged 6 commits intomasterfrom
bmw/deps3
Apr 1, 2020
Merged

Change to removing images by name#1803
bwateratmsft merged 6 commits intomasterfrom
bmw/deps3

Conversation

@bwateratmsft
Copy link
Collaborator

@bwateratmsft bwateratmsft commented Mar 31, 2020

Fixes #1529, #333 (both indirectly).

If we remove by name instead of by ID, then the 409 conflict error won't happen anymore. If there are child images, then this will simply remove the tag of the parent image; later on if the child is removed it will also remove this parent image (assuming there aren't any other tags).

@bwateratmsft bwateratmsft requested a review from a team as a code owner March 31, 2020 15:22
@bwateratmsft bwateratmsft merged commit 8cb6cd6 into master Apr 1, 2020
@bwateratmsft bwateratmsft deleted the bmw/deps3 branch April 1, 2020 14:38
Dmarch28 pushed a commit to Dmarch28/vscode-docker that referenced this pull request Mar 4, 2021
* Change to removing images by name

* 409 error catching doesn't appear to be needed
@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete images by name instead of ID Treeview UI for images does not reflect the similarity of Image IDs stored in different registries (add untag?)

3 participants