Share and learn in the Docker community.
Try http(s)://username:password@proxy_host:port/, but username and password need to be encoded. I found a blog post and github issue about it.
http(s)://username:password@proxy_host:port/