Can't login gitlab docker

Hello eveyone!

I am using gitlab to push docker image. In my machine I use proxy, when logging I get this error:

Error response from daemon: Get https://registry.gitlab.com/v2/: dial tcp: lookup registry.gitlab.com on [::1]:53: read udp [::1]:40998->[::1]:53: read: connection refused