0

I know there is a way, I just don't remind how to. I need to have the IPTables restart the Docker service when I reload, restart the iptables.

I am pretty sure there is a HOOK way to that with systemctl. Can someone light my way please ?

Regards,

  • Which linux distro? – emmdee Apr 13 '18 at 20:45
  • RedHat Enterprise 7 – yield Apr 14 '18 at 10:12
  • Could I use the EXEC in IPtables like this ? : Exec=systemctl restart docker.service – yield Apr 16 '18 at 14:43

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.