I managed to reproduce a scenario where the container does not have internet.
It only happens when using iptables v1.8.11 (nf_tables) not iptables v1.8.11 (legacy).
The current workaround is to remove iptables-backend-nft, reset iptables rules, and restart Docker.
I’ll see if we can send a package update soon.