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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay