title: How to configure docker container proxy?
body: <p>I am newbie for docker. I try set a proxy for debian:jessie image but i didnt make it. I follow this <a href="https://codepoets.co.uk/2014/debian-http_proxy-setting/" rel="noreferrer">link</a> . I apply all of them with cat tag (example: 'cat > proxy.sh' , because vi or another editor not installed ) but there is some error about my proxy in apt-get update command. </p>
  
  <p><strong>Error Photo</strong></p>
  
  <p><a href="https://i.stack.imgur.com/PPNGL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/PPNGL.png" alt="enter image description here"></a> </p>
  
  <p>My proxy : <a href="http://username:password@proxy2.domain.com" rel="noreferrer">http://username:password@proxy2.domain.com</a></p>