When you create a Docker container through Plesk and that container has port mappings, then the host ports are automatically opened to the external network.
For example, if you create a MySQL container, and it has the port mapping 32768:3306, then port 32768 on the host machine is implicitly opened to the external network. This means people can attempt to connect to the MySQL server within the container.
I haven't been able to block this using Plesk firewall.
Can anyone suggest a way of securing Docker containers within Plesk, so that they are not just open to the world?
For example, if you create a MySQL container, and it has the port mapping 32768:3306, then port 32768 on the host machine is implicitly opened to the external network. This means people can attempt to connect to the MySQL server within the container.
I haven't been able to block this using Plesk firewall.
Can anyone suggest a way of securing Docker containers within Plesk, so that they are not just open to the world?