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

errors when a network doesn't have an ip address #35

Open
AskAlice opened this issue Jul 21, 2024 · 0 comments
Open

errors when a network doesn't have an ip address #35

AskAlice opened this issue Jul 21, 2024 · 0 comments

Comments

@AskAlice
Copy link

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/gevent/greenlet.py", line 327, in run
    result = self._run(*self.args, **self.kwargs)
  File "./dockerdns", line 175, in run
    for rec in self._inspect(container['Id']):
  File "./dockerdns", line 245, in _inspect
    ip_addrs = self._get_addrs(networks)
  File "./dockerdns", line 229, in _get_addrs
    return [ value['IPAddress'] for value in networks.values() ]
AttributeError: 'NoneType' object has no attribute 'values'
<Greenlet at 0x73f3a896a7d0: <bound method DockerMonitor.run of <__main__.DockerMonitor object at 0x73f3a90d13d0>>> failed with AttributeError
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

1 participant