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

Fix iptables error by restarting service docker #10

Merged
merged 1 commit into from
Sep 18, 2015

Conversation

pascalgrimaud
Copy link
Member

Hello,

I think the docker service with Travis CI doesn't start properly, without the "Chain DOCKER" in iptables.
So, we can't start container with mapping port.

I added sudo service docker restart ; sleep 10 and made minor change in build lifecyle.
Someone has tested this solution and it seems to fix the problem : travis-ci/travis-ci#4778

@jdubois
Copy link
Member

jdubois commented Sep 18, 2015

OK, let's try this!

jdubois added a commit that referenced this pull request Sep 18, 2015
Fix iptables error by restarting service docker
@jdubois jdubois merged commit 649fcfd into jhipster:master Sep 18, 2015
@jdubois
Copy link
Member

jdubois commented Sep 18, 2015

It works, thanks a lot!!!!!

@majidgolshadi
Copy link

This error occur while you don't have a DOCKER table. so you can also use sudo iptables -N DOCKER to create it.

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

Successfully merging this pull request may close these issues.

None yet

3 participants