In case of errors, iinfos['out'] is a string that contains the traceback
Merge pull request #10266 from ticosax/bug-fix-previous-docker-id

In case of errors, iinfos['out'] is a string that contains the traceback