kitchen-docker icon indicating copy to clipboard operation
kitchen-docker copied to clipboard

Fixes issues where remove_images fails if the image is in use

Open ersmith opened this issue 5 years ago • 0 comments

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.

ersmith avatar Dec 19 '20 05:12 ersmith