By default, Docker client is not in debug mode. How to enable it?

   > docker info

    Debug Mode (client): false
    Debug Mode (server): true

If I try following docker --help

docker -D version 

I get indeed

Debug Mode (client): true
Debug Mode (server): true

But then, how can I access log messages? The following for example does not seem to bring any debug statements to the console:

PS U:\> docker -D -l debug pull ubuntu:16.04
16.04: Pulling from library/ubuntu
75c416ea735c: Pull complete
c6ff40b6d658: Pull complete
a7050fc1f338: Pull complete
f0ffb5cf6ba9: Pull complete
be232718519c: Pull complete
Digest: sha256:a0ee7647e24c8494f1cf6b94f1a3cd127f4
Status: Downloaded newer image for ubuntu:16.04
  • Try docker -D info, by default it is not enabled and the client is the command you just run...
    – Tensibai
    Commented Jul 12, 2017 at 15:49
  • you are right - as you suggested, I get "true" for the client as well; but where would I see the debug output for docker pull?
    – Ta Mu
    Commented Jul 12, 2017 at 16:35
  • "docker -D -l debug" - but where do the log messages go?..
    – Ta Mu
    Commented Jul 12, 2017 at 17:38
  • okay please check the updated question.
    – Ta Mu
    Commented Jul 13, 2017 at 6:38
  • Ok, sorry for misunderstanding. docker pull has a special case according to this issue
    – Tensibai
    Commented Jul 13, 2017 at 8:10

1 Answer 1


Eventually, using the docker -D -l debug setting for the client I have found the log outputs (apparently currently there are no debug level messages implemented as reported.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.