Using the Docker preferences in Mac i have configured the proxy settings for http_proxy and https_proxy, now even after i restart docker, these changes do not reflect.
Output of docker info
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 21
Goroutines: 39
System Time: 2018-07-10T03:16:35.485238573Z
EventsListeners: 2
HTTP Proxy: docker.for.mac.http.internal:3128
HTTPS Proxy: docker.for.mac.http.internal:3129
But settings in docker preferences can be see in below screenshot.