ansible-role-docker icon indicating copy to clipboard operation
ansible-role-docker copied to clipboard

Install iptables as a dependency on redhat systems

Open lukas-bednar opened this issue 4 years ago • 3 comments

The docker daemon will fail to start without it.

Signed-off-by: Lukas Bednar [email protected]

lukas-bednar avatar Mar 25 '21 16:03 lukas-bednar

It's weird that the docker package doesn't define iptables as a hard requirement itself. Any thoughts on this?

mongrelion avatar Mar 25 '21 16:03 mongrelion

That is good point, this role used to work just fine. Now with latest centos8 images it fails. The most probable reason is that today you can decide if you use firewalld or iptables? Maybe in the past they used to have iptables part of image by default ?

lukas-bednar avatar Mar 25 '21 17:03 lukas-bednar

Ok that kind of makes sense. But then with this change we would be making the decision for the user to use iptables over firewalld. Can we set iptables as a default dependency but make it so that the user can choose firewalld if they want? Is that an idea? Otherwise we're kind of forcing everyone to use iptables.

mongrelion avatar Mar 29 '21 11:03 mongrelion