• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Question use docker image without port mapping

Fabian H

Basic Pleskian
I installed the latest biospheere/promcord image as docker container.
But if I disable automatic port mapping, no manual port mapping is available. As in the docs, the container does not allow ports.
But I asked the author of the application for the standard port, it should be 8080.
After starting the docker container, no errors are in the console. I curled from localhost to port 8080 but there is just a refused connection.
Because of that, I cannot setup a docker rule to this application to reverse-proxy a subdomain to the container.

Any ideas?
 
You can archive it by doing some voodoo in the shell.

List your containers with
Code:
docker ps

Now, clone the container which has no port mapping enabled (in my case the name of the container is promcord) with
Code:
docker commit promcord promcord_2

Now run the new container initially with the ports you want to expose:
Code:
docker run -p 8080:8080 -td promcord_2

You can now find and modify the newly created container in plesk.
 
Back
Top