Hey! I was messing around my production server and saw that all my docker containers were opening ports to the open world! Scary stuff, here’s how to fix that.

The fix

First time ever I will redirect you to an article but all the content you need (and I needed) is there https://fralef.me/docker-and-iptables.html.

Sur ce codez bien, ciao!