Closed wheelerlaw closed 8 years ago
Transient error? I've just build the image on my local machine and it was able to fetch the key.
Sending build context to Docker daemon 118.8 kB
Step 1 : FROM frodenas/ubuntu
latest: Pulling from frodenas/ubuntu
8387d9ff0016: Pull complete
3b52deaaf0ed: Pull complete
4bd501fad6de: Pull complete
a3ed95caeb02: Pull complete
9d20913307b0: Pull complete
Digest: sha256:e04fbb8413cd10539c178a3f1f725753cf0efee9deaaeec7712dffb56fa64034
Status: Downloaded newer image for frodenas/ubuntu:latest
---> 2e64443146a3
Step 2 : MAINTAINER Ferran Rodenas <frodenas@gmail.com>
---> Running in ff5065385ac9
---> 9f7f59db3186
Removing intermediate container ff5065385ac9
Step 3 : RUN DEBIAN_FRONTEND=noninteractive && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list && apt-get update && apt-get install -y --force-yes mongodb-org=3.0.7 mongodb-org-server=3.0.7 mongodb-org-shell=3.0.7 mongodb-org-mongos=3.0.7 mongodb-org-tools=3.0.7 && service mongod stop && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
---> Running in 4e7b9d57ff77
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.U7UUKDbCyD --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
gpg: key 7F0CEB10: public key "Richard Kreuter <richard@10gen.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse
Ign http://repo.mongodb.org trusty/mongodb-org/3.0 InRelease
...
yeah, it was an issue with docker. For some reason, the only way I can get my containers to reach the internet is to put --net=host
as a parameter for docker run
.
Ok, glad you fixed it.
Not sure what is going on: