DEV Community

How To: GitLab and Docker Registry

cazgp on January 05, 2018

How To: GitLab and Docker Registry I (and one other engineer) spent rather too much time the other afternoon trying to work out how to s...
Collapse
 
olistik profile image
olistik

Just a friendly reminder to check that the firewall on the remote host doesn't block the incoming TCP port 4567, like Digital Ocean do when you spin up a Gitlab droplet with their 1-click installer, otherwise you end up with a network error likenet/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers).
If this is the case, a simple sudo ufw allow 4567 will solve the problem.

Collapse
 
madeinoz67 profile image
Stephen Eaton

Thanks for this, I’ve been scratching my head trying to get this working and didn’t realise I need docker installed on my local GitLab server until I came across this article. Thanks again!

Collapse
 
eduardort profile image
Eduardo Reyes

Cool! I'm planning on doing this myself in the future, thanks for the guide :)

Collapse
 
wonchaitanya profile image
wonchaitanya

I Appreciated your help which help to narrow down our issue , which struggle from lots of troubleshooting