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

Cannot list repositories - Failed to connect to Docker #27

Open
svink123 opened this issue Mar 29, 2023 · 3 comments
Open

Cannot list repositories - Failed to connect to Docker #27

svink123 opened this issue Mar 29, 2023 · 3 comments

Comments

@svink123
Copy link

In the docker config menu, it is failing to connect to docker and load the repositories:

image

Even though the URL is accessible from the browser and the list is not empty:

image

I ran the service using: sudo dockerd --tls=false -H=tcp://127.0.0.1:2376

image

@Zeldapedia
Copy link

I'm having the same problem, though I enabled TLS on mine. Ever figure it out?

@h114mx001
Copy link

Has anyone figured it out?

@h114mx001
Copy link

Hello there, I think that the Docker API has changed again. After doing something like #28, you should also change the 262 line in __init.py__:

for i in r.json():
       if not i['RepoTags'] == []: # Change this from None -> []
           if not i['RepoTags'][0].split(':')[0] == '<none>':
               if repos:
                   if not i['RepoTags'][0].split(':')[0] in repos:
                       continue
               if not tags:
                   result.append(i['RepoTags'][0].split(':')[0])
               else:
                   result.append(i['RepoTags'][0])

Hope it helps.

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

3 participants