Fix issue where docker output was lost.