2016-01-20 48 views

回答

2

除非你有使用export一個具體的理由,多克爾內置了支持在Dockerfile使用environment variables

ENV http_proxy='http://user:[email protected]:port' 
+0

我嘗試過,但沒有奏效。現在,我意識到我使用了錯誤的ENV命令語法。謝謝! –