Detect images/containers conflicts in docker inspect

Fixes #1798