Recently I upgraded to Fedora 32 with a fresh install and started to face an issue using docker-compose and docker in general, containers weren't able to talk each other.
After some googling I found that default backend for firewalld was changed from iptables to nftables.
I tried to do the proposed fixes for Docker described in the link above, but without success, so the way to solve the issue for me was put back iptables as firewalld backend.
With those commands below, I was able to solve the issue.
sudo sed -i 's/FirewallBackend=nftables/FirewallBackend=iptables/g' /etc/firewalld/firewalld.conf
sudo systemctl restart firewalld docker
That's all folks, thanks in advance and stay in tune.
Top comments (14)
may I offer an alternative?
Opa, com certeza, eu tentei essa solução de mudar a zone do docker0, sem sucesso, mas não lembro se eu cheguei a mudar para a trusted.
Muito obrigado por compartilhar.
tranquilo... aqui pra mim funcionou instantaneamente :)
I created my account just to say:
Thanks so much!!!
Works for me :)
I'm very glad to help and to know that you created the account just to say thanks
Thank you very much! You save my work day! I spent few hours before I met your post.
Muito obrigado! Resolveu o problema!!!
Obrigado pela dica! Ela foi a única que funcionou em dois dias parado com essa issue.
De nada, fico feliz por ter ajudado
Cara, valeu demais!
De nada, fico feliz por ter ajudado
Valeu! :D
Thank you very much for this solution!!
I'm glad to help