Docker not working on reboot with Fpbx 17 beta

I’m noticing that, on reboot, I get a weird message from Docker:

docker run --name=QM --volume=/opt/queuemetrics_data:/data -p 8080:8080 --restart unless-stopped -d loway/queuemetrics

docker: Error response from daemon: driver failed programming external connectivity on endpoint QM (2775f2460131d4e3bdea725f63b4edc79633833cb751417d07fa9874489555e7): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).

Docker was installed with apt-get install apparmor and the so-called Smart Firewall is disabled. Worked fine until reboot.