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建立一个弹性的beat(由Buehler推拍)。不过即使我设置了代理,我也会得到这个错误。我也重新启动了机器,试过了其他讨论中的每一个建议(编码密码、为git设置代理等),但都没用。

到底哪儿错了?

The password had a "-" in it and github doesn't like "-" so I had to change the password. Percent-writing wasn't accepted. Now it works.