Interview Prep/Docker/Daemon, install and permissions

`docker info` shows `WARNING: bridge-nf-call-iptables is disabled`

IntermediateTroubleshootingDaemon, install and permissions
Answer

Likely causes → br_netfilter module not loaded or sysctl off.

Diagnose → lsmod | grep br_netfilter; sysctl net.bridge.bridge-nf-call-iptables

Fix →

sudo modprobe br_netfilter
echo br_netfilter | sudo tee /etc/modules-load.d/br_netfilter.conf
echo 'net.bridge.bridge-nf-call-iptables=1' | sudo tee /etc/sysctl.d/99-docker.conf
sudo sysctl --system

Prevent → Bake into the host image.

All Docker questions Roadmap: Docker & containers

More on Daemon, install and permissions