No output from RUN commands #15
-
I'm trying to debug changes I've made in the Dockerfile but can't get any output when I run eg: has no output (although the build process does output the literal line from the Dockerfile itself). How can I enable output of commands when building? |
Beta Was this translation helpful? Give feedback.
Answered by
sherifabdlnaby
Dec 16, 2021
Replies: 1 comment
-
@johnrhunt This is the Docker BUILDKIT default configuration, you need to pass an environment variable that makes buildkit print out all the logs. It's
before building and you shall see all the logs from builds steps. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sherifabdlnaby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@johnrhunt This is the Docker BUILDKIT default configuration, you need to pass an environment variable that makes buildkit print out all the logs.
It's
BUILDKIT_PROGRESS=plain
so just run
before building and you shall see all the logs from builds steps.