Fix the logic to set container state to Error
Fix the logic to set container state to Error

According to https://docs.docker.com/engine/api/v1.23/ , the 'Error'
field returned by 'inspect' is a string, but we treated it as
boolean in before. As a result, the state was incorrect.

Change-Id: If85605ed4931c0c021090cf752f80b5200f08f33

kevin-zhaoshuai/zun,kevin-zhaoshuai/zun,kevin-zhaoshuai/zun