GrahamDumpleton / mod_wsgi-docker

Docker images for Apache/mod_wsgi.
Apache License 2.0
72 stars 36 forks source link

debian mirrors used in mod-wsgi-docker:python-3.5-onbuild image failing #28

Closed mdbr000 closed 5 years ago

mdbr000 commented 5 years ago

The prebuilt image grahamdumpleton/mod-wsgi-docker:python-3.5-onbuild fails during docker build with

Step 2/6 : RUN apt-get update ---> Running in e3b34d57e100 Err http://security.debian.org jessie/updates InRelease

Err http://deb.debian.org jessie InRelease

Err http://deb.debian.org jessie-updates InRelease

Err http://security.debian.org jessie/updates Release.gpg Temporary failure resolving 'security.debian.org'

mdbr000 commented 5 years ago

Fixed it. The server is behind a corporate firewall. I had to create the file /etc/docker/daemon.json and add my corporate DNS servers to it in order to resolve this issue.

See https://stackoverflow.com/a/40516974/3969489 for details.