-
Notifications
You must be signed in to change notification settings - Fork 2
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
iptables: No chain/target/match by that name (docker0) #1
Comments
FWIW looks like this repo is having the same issue: https://travis-ci.org/zuazo/kitchen-in-travis-native/jobs/79999390 |
@irvingpop thanks for the issue. I pushed a commit that should fix this error (82f57d5). Please, let me know if the solution works for you. More information here: travis-ci/travis-ci#4778 |
Yes! thank you, I'm working now. A couple of things I had to fix:
Here's my working PoC: chef-cookbooks/supermarket-omnibus-cookbook#20 |
OK @irvingpop, thanks for your feedback. I updated this cookbook example accordingly. I will try to investigate what you say about privileges. Would you mind if I add your cookbook as an example in the README? |
Of course! I'm not 100% clear about why docker privileged mode affected my use case. Because I'm testing an Omnibus package that needs to interact with the init system, I'm guessing my situation was different from most. In the case of In the case of I'll say that overall it was much more picky than running Docker locally, but the workarounds I implemented in my project's |
@irvingpop thanks for your detailed explanation. After some tests, I highly recommend enabling privileged mode for all the containers. I noticed many weird errors both when starting services and when running some Serverspec tests:
I updated the README accordingly. I have also noticed the problems with runit. I still do not know how to fix them. |
@zuazo thank you for the awesome work on this and the kitchen-in-travis project!
Trying this out, I get the following error:
Have you seen this by any chance?
(ref: https://travis-ci.org/chef-cookbooks/supermarket-omnibus-cookbook/jobs/81497586#L475 )
The text was updated successfully, but these errors were encountered: