Proxy configuration

How to configure the Docker client CLI to use a proxy server