Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with https enabled registry #194

Open
crazypersonboyz opened this issue Apr 12, 2020 · 1 comment
Open

Not working with https enabled registry #194

crazypersonboyz opened this issue Apr 12, 2020 · 1 comment

Comments

@crazypersonboyz
Copy link

crazypersonboyz commented Apr 12, 2020

Hi ,

My private docker local registry is https enabled. I am able to connect with docker cli but not able to connect with this application.

it shows below mentioned error

Get https://slave-node1:5000/v2/: dial tcp: lookup slave-node1 on 192.168.0.1:53: no such host
time="2020-04-12T09:13:50Z" level=info msg="Using registries located in /app with file name registries" file=allregistries.go line=161 source=app

time="2020-04-12T09:13:50Z" level=error msg="Failed to connect to validated registry: Get "https://slave-node1:5000/v2/\": dial tcp: lookup slave-node1 on 192.168.0.1:53: no such host" file=registry.go line=297 source=app

time="2020-04-12T09:13:50Z" level=fatal msg="Failed to create registry (https://slave-node1): Get "https://slave-node1:5000/v2/\": dial tcp: lookup slave-node1 on 192.168.0.1:53: no such host" file=allregistries.go line=198 source=app

regestries.yml description

registries:
localRegistry:
displayname: localhost-registry:5000
url: https://slave-node1 # Example https://localhost, http://remotehost.com
port: 5000 # Example: 443, 8080, 5000
username: admin
password: admin
refresh-rate: "5m" # Example: 60s, 5m, 1h
skip-tls-validation: false # REQUIRED for self signed certificates
dockerhub-integration: true # Optional - compares to dockerhub to determine if image up to date

Please help.

@GregaVrbancic
Copy link

HI @crazypersonboyz,

I have this application connected with multiple https-enabled registries and it is working just fine. Looking at your registries.yml file, you should probably change the port number from 5000 to 443.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants