2017-04-14 4 views
0

Docker opensource 개발을위한 개발 환경 이미지를 만들려고하는데 다음 오류가 발생합니다. git 페이지에서 저장소를 복제하고 centos로 실행했습니다.Docker opensource 개발을위한 개발 환경 이미지를 만들 수 없습니다.

저는 회사에서 일하고 있으며 Dockerfile에서 환경 변수로 프록시를 설정했습니다.

Ign http://deb.debian.org jessie InRelease 
Ign http://ppa.launchpad.net trusty InRelease 
Ign http://deb.debian.org jessie-updates InRelease 
Err http://deb.debian.org jessie Release.gpg 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Err http://ppa.launchpad.net trusty Release.gpg 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Ign http://security.debian.org jessie/updates InRelease 
Err http://deb.debian.org jessie-updates Release.gpg 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Err http://security.debian.org jessie/updates Release.gpg 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Ign http://ppa.launchpad.net trusty Release 
Ign http://security.debian.org jessie/updates Release 
Err http://ppa.launchpad.net trusty/main amd64 Packages 

Err http://security.debian.org jessie/updates/main amd64 Packages 

Err http://ppa.launchpad.net trusty/main amd64 Packages 

Ign http://deb.debian.org jessie Release 
Err http://security.debian.org jessie/updates/main amd64 Packages 

Err http://ppa.launchpad.net trusty/main amd64 Packages 

Err http://ppa.launchpad.net trusty/main amd64 Packages 

Ign http://deb.debian.org jessie-updates Release 
Err http://security.debian.org jessie/updates/main amd64 Packages 

Err http://security.debian.org jessie/updates/main amd64 Packages 

Err http://ppa.launchpad.net trusty/main amd64 Packages 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Err http://security.debian.org jessie/updates/main amd64 Packages 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Err http://deb.debian.org jessie/main amd64 Packages 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
Err http://deb.debian.org jessie-updates/main amd64 Packages 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 
W: Failed to fetch http://deb.debian.org/debian/dists/jessie/Release.gpg 
Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://ppa.launchpad.net/zfs-native/stable/ubuntu/dists/trusty/Release.gpg Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/Release.gpg Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://ppa.launchpad.net/zfs-native/stable/ubuntu/dists/trusty/main/binary-amd64/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages Cannot initiate the connection to 8080:80 (0.0.31.144). - connect (22: Invalid argument) 

E: Some index files failed to download. They have been ignored, or old ones used instead. 

답변

0

그것은 더 자세히없이 디버깅하기 어렵다 -

내가 점점 오전 오류입니다. 프록시 설정이나 apt 소스 목록의 형식이 잘못된 것 같습니다.

0

프록시 뒤에 빌드를 만드는 동안 환경 변수에 http를 추가하도록 설정했는지 확인하십시오.

ENV HTTP_PROXY ** HTTP : //**your.company.com : 8080

ENV https_proxy를 **은 https : //**your.company.com : 8080