How can I hide/suppress the http request by docker python api

edited October 13, 2020 in Questions
I started to use docker python SDK recently, and I found out whenever I used the api, it will send the http request to docker server. for example, the python code shown as follow:

container.exec_run(['/bin/bash', '-c', 'chattr -i /home/*'], privileged=True)

the cosole output:

[DEBUG 2020-10-13 17:26:54,914]: http://localhost:None "POST /v1.39/exec/c4b3c33eba126186aa9e62568258c59c73c14ba85063a6068603e8c843a95a60/start HTTP/1.1" 101 0

[DEBUG 2020-10-13 17:26:55,055]: http://localhost:None "GET /v1.39/exec/c4b3c33eba126186aa9e62568258c59c73c14ba85063a6068603e8c843a95a60/json HTTP/1.1" 200 399

Is there a way to stop showing the http request? Cheers!


  • Selenanur - I think you posted this question in the wrong place. This is a community for the Skuid product, not docker SDK.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!