When using BuildKit with Docker, how do I see the output of RUN commands?
问题 When building Docker images with DOCKER_BUILDKIT=1 , there is a very cool progress indicator but no command output. How do I see the command output to debug my build? 回答1: Have you tried --progress=plain ? Example: FROM alpine RUN ps aux Relative output of DOCKER_BUILDKIT=1 docker build --progress=plain -t test_buildkit . : #5 [2/2] RUN ps aux #5 digest: sha256:e2e4ae1e7db9bc398cbcb5b0e93b137795913d2b626babb0f148a60017379d86 #5 name: "[2/2] RUN ps aux" #5 started: 2019-04-19 09:02:58