반응형
# Problem
When I trying to "docker-compose up -d", I got a that Issue.
$ docker-compose up -d
Creating network "minio_default" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-fead109e5a90 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
# Solution
And.. I just tried again, and again. "sudo reboot", "systemctl start docker", and so on.
$ systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@15d00ddbaf53 ~]$ systemctl status docker -l
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Fri 2017-10-27 10:17:01 UTC; 4s ago
Docs: https://docs.docker.com
Process: 422 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 422 (code=exited, status=1/FAILURE)
$ sudo systemctl restart docker.service
Error creating machine: Error running provisioning: ssh command error:
command : sudo systemctl restart docker.service
err : exit status 1
output : Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
So, I see "systemctl status docker.service" and "journalctl -xe" for details
$ sudo journalctl -xe
...
ubuntu firewalld/ ERROR: COMMAND_FAILED: '/sbin/iptables -w2 -t nat -C DOCKER -i br-3f15b91d6b98 -j RETURN' failed: iptables: Bad rule (does a matching rule exist in that chain?)
...
When I saw that message, finally I got it. It just about "firewalld".
$ sudo apt remove firewalld
And... Everything is under contol
# Reference
- [google group] Anybody recognize this? "ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule": https://groups.google.com/g/islandora-isle/c/6qpQAi-uhRk?pli=1
- [StackOverFlow] How to resolve "service start-limit-hit": https://askubuntu.com/questions/1089310/how-to-resolve-service-start-limit-hit
반응형