• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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