[How-To] Define exposed ports in Docker which do not interfere with other services/applications

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [How-To] Define exposed ports in Docker which do not interfere with other services/applications

      When using plugins, usually the developer (mainly votdev and ryecoarron nowadays) of the plugin takes care that the ports which are used by the plugin are not used by another service or application. But as docker becomes more and more popular the user has to take care of selecting the correct port.

      To select the right exposed port in docker for me two information are most important:
      1. Which ports are used by standard from other applications. For this lists exist in the internet like this one: en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
        If you are not using the mentioned application, you are fine to use it on your server. This is more likely for the ports in the range 49152–65535.
      2. Which ports are currently use on my system (as most of the application which are mentioned above are not installed on my system). For this you can use several commands. Examples are shown here: cyberciti.biz/faq/unix-linux-c…f-port-is-in-use-command/
        One example: lsof -i -P -n | grep LISTEN
      Odroid HC2 - armbian - OMV4.x | Asrock Q1900DC-ITX - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:

      The post was edited 1 time, last by macom ().