Hero Image

Fix docker causing qemu forwarding to fail

I had this problem where docker would break qemu when it started. I found some things that claimed to fix it but they didn't. Here is the correct solution:

EDITOR=vim sudo -E systemctl edit docker
ExecStopPost=/usr/bin/iptables -D FORWARD -p all -i bridge0 -j ACCEPT
ExecStartPre=/usr/bin/iptables -P FORWARD ACCEPT