In short: How can I set the HTTP/HTTPS proxies for Docker on Mac OS X?
In detail:
I run Docker (1.12) on Mac OS X
The config file in boot2docker should be /var/lib/boot2docker/profile, edit this file to custom http(s) proxy.
/var/lib/boot2docker/profile