Yes, Docker containers automatically reconfigure the IPTable rules, and do not show up under UFW status as opened ports in your VPS firewall. This can leave your management containers wide open. Most docker container tutorials only use examples of how to do basic port mapping, and this is what exposes those ports.
I explain what is happening with this, and which of the three options I found easiest to make sure only the essential ports are open.
See
Docker Punching Holes Through Your VPS Firewall? This Is How I Solved It
by Danie van der Merwe on YouTube#
technology #
selfhosting #
docker #
VPS #
security