You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Thomas Suckow (JIRA)" <ji...@apache.org> on 2017/11/09 18:45:00 UTC

[jira] [Created] (NIFI-4592) Add support for running docker container as a different user than 1000

Thomas Suckow created NIFI-4592:
-----------------------------------

             Summary: Add support for running docker container as a different user than 1000
                 Key: NIFI-4592
                 URL: https://issues.apache.org/jira/browse/NIFI-4592
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Docker
    Affects Versions: 1.4.0
            Reporter: Thomas Suckow


If the docker container is run with the --user flag set to anything other than 1000, nifi will fail to run, even if --add-group 1000 is specified because some folders are only writeable by the nifi user, at the very least the nifi group should be allowed to write to necessary folders. The pid file appears to be the initial troublemaker.

This solves issues with shared volumes being exposed to the container and user 1000 not being a valid user on them.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)