I have Ubuntu 16.04 host and installed check_mk agent
on it & all was ok. Then I installed docker
on it and now I can not hit port 6556 and check_mk checks
are failing too. I tried per docker KB but no luck - Add iptables policies before Docker’s rules. How to fix this?
Message:
All of Docker’s iptables rules are added to the DOCKER chain. Do not manipulate this table manually. If you need to add rules which load before Docker’s rules, add them to the DOCKER-USER chain. These rules are loaded before any rules Docker creates automatically.
I've tried:
sudo iptables -I DOCKER-USER -p tcp --dport 6556 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT