Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-492

Security requirement: MultiCloud Service run as non root user

XMLWordPrintable

      https://wiki.onap.org/display/DW/Best+Practices

      USER

      Do not run containers as root. Use USER to change to an non-root user.

      Create the user and group as in this example:

      RUN groupadd -r postgres && useradd --no-log-init -r -g postgres postgres .

      Avoid installing or using sudo. If you need to, use "gosu" instead.

      To minimize the number of layers, avoid switching USER back and forth frequently.

            biny993 biny993
            biny993 biny993
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: