Docker and firewalld

I’m using firewalld and tried bringing up docker at the same time. Docker does come up, but the networking does not work properly (dns resolving from inside container fails). I’ve pasted journal messages below. Has anyone been able to get docker working with firewalld?

COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables v1.8.3 (legacy): Couldn't load target `DOCKER':No such file or directory
                                      Try `iptables -h' or 'iptables --help' for more information.
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -D OUTPUT -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER' failed: iptables v1.8.3 (legacy): Couldn't load target `DOCKER':No such file or directory
                                      Try `iptables -h' or 'iptables --help' for more information.
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -D OUTPUT -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables v1.8.3 (legacy): Couldn't load target `DOCKER':No such file or directory
                                      Try `iptables -h' or 'iptables --help' for more information.
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -D PREROUTING' failed: iptables: Bad rule (does a matching rule exist in that chain?).
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -D OUTPUT' failed: iptables: Bad rule (does a matching rule exist in that chain?).
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -F DOCKER' failed: iptables: No chain/target/match by that name.
COMMAND_FAILED: '/usr/bin/iptables -w10 -t nat -X DOCKER' failed: iptables: No chain/target/match by that name.

There are some issues in the firewalld repo about this too:

I also didn’t find any claimed support for firewalld in the Docker documentation, only iptables.