You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jose Luis Pedrosa (Jira)" <ji...@apache.org> on 2021/03/01 18:09:00 UTC

[jira] [Created] (NIFI-8275) Enable NiFi Docker image to bind on low ports

Jose Luis Pedrosa created NIFI-8275:
---------------------------------------

             Summary: Enable NiFi Docker image to bind on low ports
                 Key: NIFI-8275
                 URL: https://issues.apache.org/jira/browse/NIFI-8275
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Docker
    Affects Versions: 1.12.1, 1.13.0
         Environment: Any docker environment
            Reporter: Jose Luis Pedrosa


Currently Docker image creates and asignes an user `nifi` with guid 1000. This user is not allowed to listen in low ports (<1024), this means that it is not possible to have NiFi web running on port 80. 

In order to enable this, the Java process needs to have the NET_BIND_SERVICE capability assigned. This by it's own won't allow to listen on low ports, but if the user assigns that capability to the container (docker or kubernetes), then it is possible.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)