Catch error from docker run

And report an error building packages