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
Unable to enable SKIP DNAT rule #211
Comments
Found that I had missed some permission settings, https://docker4drupal.readthedocs.io/en/latest/permissions/. I have implemented that, removed all images (wanted to start from scratch) now it fails immediately.
|
moby/moby#16816 looks like your issue, try restarting docker |
@csandanov I am getting a slightly different message having just updated to the latest Docker for Windows:
Docker info
|
Any ideas how I can get this working? I have basic networking skills and debugging this is beyond my skills. I rebooted, then removed any trace of anything setup for my LXC environments, devices, port forwarding and stopped the firewall. With Vanilla
With mounted codebase
|
changed the title in the hope of getting a response. I really want to be able to use this. |
After further searching, stress, and much starting/stopping of processes I finally found the magical incantation to get this to work. The simplest way is to restart docker. Of course, I needed to modify the firewall config (I use firehol) to accommodate the interfaces this docker setup uses. Today was the test. I booted, started my existing LXC containers and did some work. At a break, I decided to test docker4drupal. Running Closing this issues. |
For anyone who stumbles upon this closed issue:
|
i restarted docker three times but it's showing the same error: Internal Server Error ("Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-38e86077394a -j RETURN: iptables: No chain/target/match by that name.\n (exit status 1))")" can any one please tell me the other way to solve this error. |
iptables -t filter -N DOCKER execute this command restart the docker solving an issue. This issue you may get if you stop the firewalld after installing docker. If you stop firewalld before installing docker, then you may not get this issue. |
Great do more step to fix it.
This fix this permanently. |
|
Actually for me it turns out that this error disapear when I reactivate my firewall ... |
$ sudo systemctl restart docker.socket This command above worked for me. |
i don't think this should be closed right now. no one got to the bottom of this. restarting docker is not a good fix. the way i see it is some other service is interfering. a firewall i guess. |
i want to know the cause of this problem, maybe the docker file is written incorrectly |
Any one who can figure the source root out of this problem? |
We regularly hit this as we start and stop docker networks all the time, and restarting the docker daemon is only a temporary fix, trying to find out how to prevent it from happening in the first place, but if anyone has discovered something, keep me posted :) |
Using the docker-compose.yml without changes and can't bring up the Vanilla Drupal. I have disabled my firewall and stopped local apache.
Codebase
Built-in vanilla Drupal
Host OS
Debian Stretch
Docker info output
Docker compose file
Unchanged Vanilla Drupal
Logs output
The text was updated successfully, but these errors were encountered: