I was trying to test my recent docker install on Debian 9 but the following error appeared:

I had clear it was related to our corporate proxy and I was focused on that.

I’ve tried searching for the error but it had multiple solutions, reading the comments I’ve started digging in the filesystem looking for any docker related file, and I found this one:

And added this on the file under the [Service] section:

After that restarted docker:

Executed docker info to see that the proxy had been loaded correctly:

And I succeeded running the test: