Learn about Centmin Mod LEMP Stack today
Become a Member

Running Docker Container on Same Port 80 443 as Nginx?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Michael W, Dec 2, 2018.

  1. Michael W

    Michael W New Member

    Nov 12, 2018
    Local Time:
    10:49 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.6
    • PHP Version Installed: 7.2.9

    I've been testing Centminmod and it's been great. Really loving it so far!

    I wanted to install bitwarden on the same server, and it seems bitwarden is in a docker container. I'm still a newb so any help would be appreciated. I got bitwarden's container to run, but I had to change the port to 8443 (i have ssl enabled). Can I have the bitwarden container use port 443 as well? (Nginx is currently using it)

  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    12:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    only one service can use a particular port at time. You will need to run docker contain mapping the local port to a different port when you launch the docker container.