Why is docker build not showing any output from commands?

Snippet from dockerfile:

FROM node:12.18.0
RUN echo "hello world"
RUN psql --version

When I run docker build . I don't see any output from these two commands even if they are not cached. The documentation says that docker build is verbose by default. Why am I not seeing the output from commands? I used to see them before.

The output while building: enter image description here The output I am seeing after building finishes: enter image description here

Dockerfile is created from node:12.18.0 which is based on Debian 9

Docker version 19.03.13, build 4484c46d9d.

Read more here: https://stackoverflow.com/questions/64804749/why-is-docker-build-not-showing-any-output-from-commands

Content Attribution

This content was originally published by NoName at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: