- Plesk Onyx for Linux
- Unable to map more than one port for a Docker container in Plesk:
- Ports that are required to be mapped are not exposed: not specified in the directive expose when an image is created.
At the moment Plesk allows mapping ports that are exposed only. The extended functionality for port mapping is going to be implemented in one of the future releases.
Use one of the following workarounds:
Use an analogue image that has required ports exposed;
If there is no such image, create your own image with proper settings;
Run a container from a command-line interface. For more information, please refer to official documentation for the used image.