How to see docker build “RUN command” stdout? (docker for windows)

Reading through When using BuildKit with Docker, how do I see the output of RUN commands?
the reason for the changed output format is that instead of the “classic” docker build a new feature named “buildkit” is now being used instead.

Method 1 (taken from above questions answers)

Use docker build --progress=plain . to see the plain output.

To permanently set the progress to plain the ENV BUILDKIT_PROGRESS=plain can be set.

For a quick win (non permanent) I simply added the following line to the beginning of my scripts:

  • powershell: $env:BUILDKIT_PROGRESS="plain"
  • cmd: set BUILDKIT_PROGRESS=plain

Method 2 (Not recommended)

Disable buildkit in the settings docker engine features
enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)