When running: $ imagebuild/coreos/docker_build.bash
It fails from behind a proxy server
Sample output: 2016-01-13 19:32:53.060 | + sudo -E make 2016-01-13 19:32:53.067 | ./docker_build.bash Sending build context to Docker daemon 3.985 MB to Docker daemon 557.1 kB 2016-01-13 19:32:53.846 | Sending build context to Docker daemon 2016-01-13 19:32:53.855 | Step 0 : FROM debian:jessie 2016-01-13 19:32:55.575 | jessie: Pulling from debian 2016-01-13 19:32:55.576 | cb6fb082434e: Pulling fs layer 2016-01-13 19:32:55.578 | d4b2ba78e3b4: Pulling fs layer 2016-01-13 19:32:56.051 | d4b2ba78e3b4: Verifying Checksum 2016-01-13 19:32:56.051 | d4b2ba78e3b4: Download complete 2016-01-13 19:32:59.868 | cb6fb082434e: Verifying Checksum 2016-01-13 19:32:59.871 | cb6fb082434e: Download complete 2016-01-13 19:33:04.506 | cb6fb082434e: Pull complete 2016-01-13 19:33:04.698 | d4b2ba78e3b4: Pull complete 2016-01-13 19:33:04.698 | debian:jessie: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security. 2016-01-13 19:33:04.698 | Digest: sha256:f968f10b4b523737e253a97eac59b0d1420b5c19b69928d35801a6373ffe330e 2016-01-13 19:33:04.715 | Status: Downloaded newer image for debian:jessie 2016-01-13 19:33:04.717 | ---> d4b2ba78e3b4 2016-01-13 19:33:04.717 | Step 1 : ADD . /tmp/ironic-python-agent 2016-01-13 19:33:06.821 | ---> 6dfd55bc31c1 2016-01-13 19:33:08.267 | Removing intermediate container 0a5c2ccd344a 2016-01-13 19:33:08.270 | Step 2 : RUN echo 'APT::Default-Release "jessie";' > /etc/apt/apt.conf.d/10default && sed -e 's/jessie/testing/g' /etc/apt/sources.list > /etc/apt/sources.list.d/testing.list 2016-01-13 19:33:08.539 | ---> Running in 9bd59c3a2ea7 2016-01-13 19:33:10.579 | ---> 8f61eb96b876 2016-01-13 19:33:11.505 | Removing intermediate container 9bd59c3a2ea7 2016-01-13 19:33:11.506 | Step 3 : RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends gdisk python2.7 python2.7-dev python-pip qemu-utils parted hdparm util-linux genisoimage git gcc bash coreutils tgt dmidecode ipmitool && apt-get --only-upgrade -t testing install -y qemu-utils 2016-01-13 19:33:11.800 | ---> Running in 230f546a0a1b 2016-01-13 19:39:12.857 | Err http://httpredir.debian.org jessie InRelease 2016-01-13 19:39:12.857 | 2016-01-13 19:39:12.857 | Err http://httpredir.debian.org jessie-updates InRelease 2016-01-13 19:39:12.857 | 2016-01-13 19:39:12.857 | Err http://httpredir.debian.org testing InRelease 2016-01-13 19:39:12.857 | 2016-01-13 19:39:12.858 | Err http://httpredir.debian.org testing-updates InRelease 2016-01-13 19:39:12.858 | 2016-01-13 19:39:12.858 | Err http://httpredir.debian.org jessie Release.gpg 2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:35). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:35 80] 2016-01-13 19:39:12.858 | Err http://httpredir.debian.org jessie-updates Release.gpg 2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:35). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:35 80] 2016-01-13 19:39:12.858 | Err http://httpredir.debian.org testing Release.gpg 2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:35). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:35 80] 2016-01-13 19:39:12.858 | Err http://httpredir.debian.org testing-updates Release.gpg 2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.debian.org:80 (2001:41c8:1000:21::21:35). - connect (101: Network is unreachable) [IP: 2001:41c8:1000:21::21:35 80] 2016-01-13 19:41:12.955 | Err http://security.debian.org jessie/updates InRelease 2016-01-13 19:41:12.955 | 2016-01-13 19:41:12.956 | Err http://security.debian.org testing/updates InRelease 2016-01-13 19:41:12.956 | 2016-01-13 19:41:12.956 | Err http://security.debian.org jessie/updates Release.gpg 2016-01-13 19:41:12.956 | Cannot initiate the connection to security.debian.org:80 (2607:ea00:101:3c0b::1deb:215). - connect (101: Network is unreachable) [IP: 2607:ea00:101:3c0b::1deb:215 80] 2016-01-13 19:41:12.956 | Err http://security.debian.org testing/updates Release.gpg 2016-01-13 19:41:12.956 | Cannot initiate the connection to security.debian.org:80 (2607:ea00:101:3c0b::1deb:215). - connect (101: Network is unreachable) [IP: 2607:ea00:101:3c0b::1deb:215 80] 2016-01-13 19:41:13.168 | Reading package lists... <snip>
When running: coreos/ docker_ build.bash
$ imagebuild/
It fails from behind a proxy server
Sample output: f968f10b4b52373 7e253a97eac59b0 d1420b5c19b6992 8d35801a6373ffe 330e python- agent Release "jessie";' > /etc/apt/ apt.conf. d/10default && sed -e 's/jessie/ testing/ g' /etc/apt/ sources. list > /etc/apt/ sources. list.d/ testing. list recommends gdisk python2.7 python2.7-dev python-pip qemu-utils parted hdparm util-linux genisoimage git gcc bash coreutils tgt dmidecode ipmitool && apt-get --only-upgrade -t testing install -y qemu-utils httpredir. debian. org jessie InRelease httpredir. debian. org jessie-updates InRelease httpredir. debian. org testing InRelease httpredir. debian. org testing-updates InRelease httpredir. debian. org jessie Release.gpg debian. org:80 (2001:41c8: 1000:21: :21:35) . - connect (101: Network is unreachable) [IP: 2001:41c8: 1000:21: :21:35 80] httpredir. debian. org jessie-updates Release.gpg debian. org:80 (2001:41c8: 1000:21: :21:35) . - connect (101: Network is unreachable) [IP: 2001:41c8: 1000:21: :21:35 80] httpredir. debian. org testing Release.gpg debian. org:80 (2001:41c8: 1000:21: :21:35) . - connect (101: Network is unreachable) [IP: 2001:41c8: 1000:21: :21:35 80] httpredir. debian. org testing-updates Release.gpg debian. org:80 (2001:41c8: 1000:21: :21:35) . - connect (101: Network is unreachable) [IP: 2001:41c8: 1000:21: :21:35 80] security. debian. org jessie/updates InRelease security. debian. org testing/updates InRelease security. debian. org jessie/updates Release.gpg debian. org:80 (2607:ea00: 101:3c0b: :1deb:215) . - connect (101: Network is unreachable) [IP: 2607:ea00: 101:3c0b: :1deb:215 80] security. debian. org testing/updates Release.gpg debian. org:80 (2607:ea00: 101:3c0b: :1deb:215) . - connect (101: Network is unreachable) [IP: 2607:ea00: 101:3c0b: :1deb:215 80]
2016-01-13 19:32:53.060 | + sudo -E make
2016-01-13 19:32:53.067 | ./docker_build.bash
Sending build context to Docker daemon 3.985 MB to Docker daemon 557.1 kB
2016-01-13 19:32:53.846 | Sending build context to Docker daemon
2016-01-13 19:32:53.855 | Step 0 : FROM debian:jessie
2016-01-13 19:32:55.575 | jessie: Pulling from debian
2016-01-13 19:32:55.576 | cb6fb082434e: Pulling fs layer
2016-01-13 19:32:55.578 | d4b2ba78e3b4: Pulling fs layer
2016-01-13 19:32:56.051 | d4b2ba78e3b4: Verifying Checksum
2016-01-13 19:32:56.051 | d4b2ba78e3b4: Download complete
2016-01-13 19:32:59.868 | cb6fb082434e: Verifying Checksum
2016-01-13 19:32:59.871 | cb6fb082434e: Download complete
2016-01-13 19:33:04.506 | cb6fb082434e: Pull complete
2016-01-13 19:33:04.698 | d4b2ba78e3b4: Pull complete
2016-01-13 19:33:04.698 | debian:jessie: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.
2016-01-13 19:33:04.698 | Digest: sha256:
2016-01-13 19:33:04.715 | Status: Downloaded newer image for debian:jessie
2016-01-13 19:33:04.717 | ---> d4b2ba78e3b4
2016-01-13 19:33:04.717 | Step 1 : ADD . /tmp/ironic-
2016-01-13 19:33:06.821 | ---> 6dfd55bc31c1
2016-01-13 19:33:08.267 | Removing intermediate container 0a5c2ccd344a
2016-01-13 19:33:08.270 | Step 2 : RUN echo 'APT::Default-
2016-01-13 19:33:08.539 | ---> Running in 9bd59c3a2ea7
2016-01-13 19:33:10.579 | ---> 8f61eb96b876
2016-01-13 19:33:11.505 | Removing intermediate container 9bd59c3a2ea7
2016-01-13 19:33:11.506 | Step 3 : RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-
2016-01-13 19:33:11.800 | ---> Running in 230f546a0a1b
2016-01-13 19:39:12.857 | Err http://
2016-01-13 19:39:12.857 |
2016-01-13 19:39:12.857 | Err http://
2016-01-13 19:39:12.857 |
2016-01-13 19:39:12.857 | Err http://
2016-01-13 19:39:12.857 |
2016-01-13 19:39:12.858 | Err http://
2016-01-13 19:39:12.858 |
2016-01-13 19:39:12.858 | Err http://
2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.
2016-01-13 19:39:12.858 | Err http://
2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.
2016-01-13 19:39:12.858 | Err http://
2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.
2016-01-13 19:39:12.858 | Err http://
2016-01-13 19:39:12.858 | Cannot initiate the connection to httpredir.
2016-01-13 19:41:12.955 | Err http://
2016-01-13 19:41:12.955 |
2016-01-13 19:41:12.956 | Err http://
2016-01-13 19:41:12.956 |
2016-01-13 19:41:12.956 | Err http://
2016-01-13 19:41:12.956 | Cannot initiate the connection to security.
2016-01-13 19:41:12.956 | Err http://
2016-01-13 19:41:12.956 | Cannot initiate the connection to security.
2016-01-13 19:41:13.168 | Reading package lists...
<snip>