title: Is there an option to see STDOUT with docker SDK when building images?
body: <p>I just started building my docker images with python instead of sh-scripts, but am confused as I am getting no STDOUT with my script.</p>
  <p>Is there a way to enable it? The parameter &quot;quiet&quot; seems to enable/disable if an object is returned.</p>
  <p>Thank you,</p>
  <p>Jakob</p>
  <p>Minimal example:</p>
  <pre><code># Dockerfile
  FROM ubuntu
  </code></pre>
  <pre><code># main.py
  import docker
  
  client = docker.from_env()
  client.images.build(path='.')
  </code></pre>
  <p>Where executin the build command in console yields:</p>
  <pre><code>jakob@jakob:~/foo$ docker build .
  Sending build context to Docker daemon  20.99kB
  Step 1/1 : FROM ubuntu
  ---&gt; 7e0aa2d69a15
  Successfully built 7e0aa2d69a15
  </code></pre>
  <p>executing the python file yields nothing. I would love for both to be similar in their STDOUT.</p>