Docker生成失败,因为“端口443:连接超时”

$ 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 <christoph.buehler@bluewin.ch> ---> 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 

我想用docker构build一个弹性节拍(twitterbeat by buehler)。 即使设置代理,我也会得到这个错误。 我也重新启动了机器。 我尝试了其他方面的一切。 (编码密码,为git设置代理等)

我究竟做错了什么?

密码中有一个“ – ”,github不喜欢“ – ”,所以我不得不改变密码。 百分比写作不被接受。 现在起作用了。