• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question How to block external connections into Docker container

Domm

New Pleskian
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?
 
Back
Top