-
Sub-task
-
Resolution: Done
-
High
-
None
-
None
-
None
Create user for running the collector and make sure it has rights to read config and write logs.
https://wiki.onap.org/display/DW/DCAE+R4+M4+Code+Freeze+Milestone+Checklist
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.
- relates to
-
AAI-2172 Change to use non-root user for containers
- Closed