Fix handling of missing image message with newer versions of Docker #3171
At some unknown version,
This commit checks for either version of the message.
Please include the following checklist in your PR:
Tested by running
At some unknown version, `docker inspect` stopped outputting "Error: No such image" and started outputting "Error: No such object:" when the image is question was missing. That change broke detecting that situation. This commit checks for either version of the message.
Great that you caught this though!
So, this original string check is quite fragile then! The difference between the
Looking at it again, I think we can handle non-zero exit codes from
I can make that change.