centos – Docker break server when starting
First of all I have docker installed in centos 7 server, and I’m using Portainer to manage my containers. Then I tried to create sonarqube container from YML. When I deployed the “stack” I never had and answer.
Then when I’m trying to start docker from console with: systemcl start docker.service, the server goes down and I need to restart.
Checking logs I found /var/log/firewalld with this output:
2024-03-25 16:11:54 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t nat -D PREROUTING’ failed: iptables: Bad rule (does a matching rule exist in that chain?).
2024-03-25 16:11:54 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t nat -D OUTPUT’ failed: iptables: Bad rule (does a matching rule exist in that chain?).
2024-03-25 16:11:54 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t nat -F DOCKER’ failed: iptables: No chain/target/match by that name.
2024-03-25 16:11:54 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t nat -X DOCKER’ failed: iptables: No chain/target/match by that name.
2024-03-25 16:11:55 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t filter -F DOCKER’ failed: iptables: No chain/target/match by that name.
2024-03-25 16:11:55 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t filter -X DOCKER’ failed: iptables: No chain/target/match by that name.
2024-03-25 16:11:55 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t filter -F DOCKER-ISOLATION-STAGE-1’ failed: iptables: No chain/target/match by that name.
2024-03-25 16:11:55 WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -t filter -X DOCKER-ISOLATION-STAGE-1’ failed: iptables: No chain/target/match by that name.
…
I’m trying to start docker service without starting automatically containers, but I didn´t have luck.
Any advice to solve my problem?
Read more here: Source link
