2016-04-25 29 views
1
$ docker build buehler/twitterbeat 
Sending build context to Docker daemon 96.26 kB 
Step 1 : FROM golang:1.5.2 
---> 9c67771abd78 
Step 2 : MAINTAINER Christoph Buehler <[email protected]> 
---> Using cache 
---> 57cbdd07c195 
Step 3 : ENV GO15VENDOREXPERIMENT 1 
---> Using cache 
---> fd69aeb2425d 
Step 4 : RUN git clone https://github.com/Masterminds/glide.git $GOPATH/src/github.com/Masterminds/glide &&  cd $GOPATH/src/github.com/Masterminds/glide &&  make bootstrap &&  make build &&  cp ./glide /usr/bin 
---> Running in 025c97c1cba1 
Cloning into '/go/src/github.com/Masterminds/glide'... 
fatal: unable to access 'https://github.com/Masterminds/glide.git/': Failed to connect to github.com port 443: Connection timed out 
The command '/bin/sh -c git clone https://github.com/Masterminds/glide.git $GOPATH/src/github.com/Masterminds/glide &&  cd $GOPATH/src/github.com/Masterminds/glide &&  make bootstrap &&  make build &&  cp ./glide /usr/bin' returned a non-zero code: 128 

ドッカーで弾力的なビート(twitterbeat by buehler)を構築したいと思います。 プロキシを設定してもこのエラーが発生します。私もマシンを再起動しました。 私は他のディスカッションにあるすべてを試しました。 (パスワードのエンコーディング、gitのプロキシ設定など)「ポート443:接続がタイムアウトしました」のためにDockerビルドが失敗しました

私は間違っていますか?

+0

ドッカーホストのgitリンクに 'curl'や' wget'でアクセスできますか?ドッカーの問題のようには聞こえず、エラーメッセージは非常に明確です: 'https://github.com/Masterminds/glide.git/'にアクセスできません:github.comに接続できませんでした。 – CFrei

+0

curl:(5)プロキシ '[email protected]'を解決できませんでした。私のパスワードは:xxxxxxxxxxxxxx @ xxxxxです。私はそれが "@"と関係があると思う。私はそれを%40に変更しました –

+0

それでは、その作業をしましたか? – CFrei

答えて

1

パスワードに「 - 」があり、githubに「 - 」がないので、パスワードを変更する必要がありました。パーセント書き込みは受け入れられませんでした。今それは動作します。

関連する問題