(참고로 필자는 Ubuntu 14.04 사용)
1. /etc/environment 파일에 proxy 정보 추가
예) http_proxy="http://a.b.c.d:8080/"
4 https_proxy="http://a.b.c.d:8080/"
5 no_proxy="localhost,127.0.0.1,127.0.0.0/8,127.0.1.1,10.0.0.0/8,192.168.0.0/16"
2. /etc/default/docker.io 파일에 proxy 정보 추가
예)
# If you need Docker to use an HTTP proxy, it can also be specified here.
export http_proxy="http://a.b.c.d:8080/"
export no_proxy=192.168.21.140
예)
ENV http_proxy http://a.b.c.d:8080/
ENV https_proxy http://a.b.c.d:8080/
댓글 없음:
댓글 쓰기