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

After a "while" we need to restart dnsdock again #2

Open
ailispaw opened this issue Jul 20, 2016 · 5 comments
Open

After a "while" we need to restart dnsdock again #2

ailispaw opened this issue Jul 20, 2016 · 5 comments

Comments

@ailispaw
Copy link
Owner

#1 (comment)

We currently have a weird bug. We can't connect to any container via DNS unless we restart dnsdock. After a "while" we need to restart dnsdock again.

@ailispaw
Copy link
Owner Author

#1 (comment)

We don't have trouble in our VM (Mac) / Barge setup.
We're also using this dnsdock as a resolver on our staging env, which runs each project in containers (docker-compose config per project). And that's where we see this issue. I can't find anything in the dnsdock container logs.

This way we can, for example, login with ssh and connect to a mysql container by it's dns dock alias.
This works fine, but we need to restart dnsdock after a few hours.

@jverdeyen
Copy link

Thx @ailispaw I'll investigate further and post my findings here.

@ailispaw
Copy link
Owner Author

ailispaw commented Jul 21, 2016

@jverdeyen Thanks.
BTW, if you have the problem with the original tonistiigi/dnsdock, you had better open an issue there.

@ailispaw
Copy link
Owner Author

aacebedo#27

When connecting to Docker over TCP, there is the possibility of the events stream connection dropping while dnsdock continues to run.

I'm not sure, but it may happen.

I guess that It may be useful to adjust TTL.

@ailispaw
Copy link
Owner Author

For a workaround now, you can set a cron script to check and restart the dnsdock container.

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