Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4592

Add support for running docker container as a different user than 1000

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.0
    • None
    • Docker
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thomas.suckow Thomas Suckow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: