Docker Community Forums

Share and learn in the Docker community.

Addint from hithub


(Silmar) #1

When I try adding a file from github through my dockerfile I get the error github read: connection reset by peer

Steps to reproduce: Add line.
ADD https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb /tmp/wkhtmltopdf.deb

Your adding will likely fail.

How to solve that and download this from github?


(Think) #2

try it on http://play-with-docker.com. It works.

That it doesn’t work for you could be caused by your network environment. Are you behind a proxy?


(Silmar) #3

A friend told me it won’t work since github uses redirection. So i changed from ADD into RUN wget and so wget works just fine.