kitchen-docker
kitchen-docker copied to clipboard
Fixes issues where remove_images fails if the image is in use
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.