Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18581

Setting environment variables to configure java memory parameters is not working for Artifactory docker installation when using custom uid:gid to run the container

    Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docker Image
    • Labels:
      None

      Description

      Setting environment variables to configure java memory parameters is not working for Artifactory docker installation when using custom uid:gid to run the container.

      You don't get any errors and you think the java memory parameters have taken effect. But if you exec into the container and check the artifactory.log during the startup you will notice that the heap memory is still set to default. The environment variable has been set inside the container, but since the "artifactory.default" file under /opt/jfrog/artifactory/bin/ is still owned by the "artifactory" user the environment variable for setting java memory has not taken effect.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nihalc@jfrog.com Nihal Reddy Chinna Choudhary
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: