DEV Community

Cover image for When your first docker-compose fails and you don't know why...
liranye
liranye

Posted on

When your first docker-compose fails and you don't know why...

check these solutions

On Centos8, The firewall is configured with nftables, which doesn't work well with docker. To fix this problem, open fw configuration file:

sudo vim /etc/firewalld/firewalld.conf

Update FirewallBackend=nftables to FirewallBackend=iptables

save this change and reload firewalld:

sudo systemctl restart firewalld.service

Top comments (0)