Hi guys, it is kind of pain to debug docker build ...
# ask-community
m
Hi guys, it is kind of pain to debug docker build errors in Prefect when built using
.deploy
, as Prefect does not output anything but the very latest error, which is mostly missing the context and the text of the real fatal error. While building (in the deploy step) a custom image, it only shows building, without the steps, and if an error happens, show the "error" message, while a the real message, when using docker build, is in the fatal message, which prefect just does not show. Can we make prefect show all of the building steps, just like docker build?
c
Hi Mohammed - Prefect should stream the docker build output to stdout, and only raises with the final build error. This sounds like something you could open an enhancement request for with a bit more information: https://github.com/PrefectHQ/prefect/issues
m
Thanks Chris - I will create an GitHub issue for that.