[Running docker build tries to access ipv6 addresses on an ipv4 network. My org’s network has ipv6 disabled completely for security reasons, and I can’t get docker to build the image. I’ve tried numerous network configurations, most of which render docker inoperable. Right now i have ipv6 disabled on the machine to no effect.
I am able to browse to archive.ubuntu.com:80 in chrome and actually manually download the files in question, but I’m working in a support role and this is a new app in my environment, and so has no documentation. This seems different to me than the container name resolution, so I’m creating new post. Honestly I don’t know anything about docker, so I’d be unsurprised and relieved to discover that there’s a command line switch or something else simple I’m missing.
win ver 6.1.7601 (7, 64, Enterprise)
docker toolbox v1.12.2
Steps to repro:
<my user’s name>@<my user’s hostname> MINGW64 /p/TQ1-Data (master)
$ docker build -t chtn/tq1-data .
Sending build context to Docker daemon 30.7 MB
Step 1 : FROM alexeiled/docker-oracle-xe-11g
latest: Pulling from alexeiled/docker-oracle-xe-11g
759d6771041e: Pulling fs layer
8836b825667b: Pulling fs layer
c2f5e51744e6: Pulling fs layer
a3ed95caeb02: Pull complete
787648ea7b44: Pull complete
46f20000ce59: Pull complete
2a190e47ca3f: Pull complete
f8043f470a85: Pull complete
0f6111a00dd6: Pull complete
deacbfda2b11: Pull complete
6eb979936fa3: Pull complete
5194f2505f56: Pull complete
a63e30990791: Pull complete
994cf2ce199e: Pull complete
5eba4c64e295: Pull complete
01227e9ca0a6: Pull complete
076b6fa27478: Pull complete
d6407a7221b5: Pull complete
bbc5a28168da: Pull complete
dd783b45fa26: Pull complete
0a686089bc7e: Pull complete
73fac5e681c5: Pull complete
afaede9e60b1: Pull complete
a5d9cef8ef2a: Pull complete
32bcfcf46e45: Pull complete
aa896f927427: Pull complete
f99ab5aba6e5: Pull complete
Digest: sha256:35448e199115012a742ff9098da3287c666ce52d18efcf4658e0437892ed3ee6
Status: Downloaded newer image for alexeiled/docker-oracle-xe-11g:latest
—> f7304758169d
Step 2 : MAINTAINER
—> Running in 3ee560531edf
—> 6b39ab3618c7
Removing intermediate container 3ee560531edf
Step 3 : RUN apt-get update && apt-get install dos2unix
—> Running in 6ee1f8a3666e
Err httparchive.ubuntu.com trusty InRelease
Err httparchive.ubuntu.com trusty-updates InRelease
Err httparchive.ubuntu.com trusty-security InRelease
Err httparchive.ubuntu.com trusty Release.gpg
Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::1
1). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
Err httparchive.ubuntu.com trusty-updates Release.gpg
Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::1
1). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
Err httparchive.ubuntu.com trusty-security Release.gpg
Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::1
1). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
Reading package lists…
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty-updates/InRelea
se
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty-security/InRele
ase
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Ca
nnot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::11).
- connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty-updates/Release
.gpg Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:800
1::11). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
W: Failed to fetch httparchive.ubuntu.com/ubuntu/dists/trusty-security/Releas
e.gpg Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:80
01::11). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::11 80]
W: Some index files failed to download. They have been ignored, or old ones used
instead.
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package dos2unix
The command ‘/bin/sh -c apt-get update && apt-get install dos2unix’ returned
a non-zero code: 100]