Skip to content

Fixes issues where remove_images fails if the image is in use#376

Closed
ersmith wants to merge 1 commit intotest-kitchen:mainfrom
ersmith:image-in-use-fix
Closed

Fixes issues where remove_images fails if the image is in use#376
ersmith wants to merge 1 commit intotest-kitchen:mainfrom
ersmith:image-in-use-fix

Conversation

@ersmith
Copy link
Copy Markdown
Contributor

@ersmith ersmith commented Dec 19, 2020

Description

Previously, when remove_images was set to true, you would receive an error if the image was in use somewhere else. This fixes it by checking to see if the image is in use and skipping image removal if that is the case. It takes the idea presented in #361 and incorporates the feedback on that PR.

Issues Resolved

This PR fixes #360

Check List

  • All tests pass. See TESTING.md for details.
  • New functionality includes testing.
  • New functionality has been documented in the README if applicable.

damacus
damacus previously approved these changes Aug 21, 2023
@damacus damacus self-assigned this Aug 21, 2023
@damacus
Copy link
Copy Markdown
Contributor

damacus commented Aug 21, 2023

Will batch release this, this week.

@damacus damacus enabled auto-merge (squash) November 14, 2023 19:56
@damacus damacus disabled auto-merge November 14, 2023 19:57
@damacus
Copy link
Copy Markdown
Contributor

damacus commented Nov 15, 2023

Closing in favour of #406

@damacus damacus closed this Nov 15, 2023
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.

Docker images deletions fails when instances share the same image ID

2 participants