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 /tmp/wkhtmltopdf.deb

Your adding will likely fail.

How to solve that and download this from github?

(Think) #2

try it on 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.