docker commandına şunu ekleyin

-e "PROXY=http://username:password@ip:port"

username vb kendi proxye göre değişin