Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[database] make Redis process runs as non-root user (sonic-net#16326)
Why I did it Running the Redis server as the "root" user is not recommended. It is suggested that the server should be operated by a non-privileged user. Work item tracking Microsoft ADO (number only): 15895240 How I did it Ensure the Redis process is operating under the 'redis' user in supervisord and make redis user own REDIS_DIR inside db container. How to verify it Built new image, verify redis process is running as 'redis' user and all containers are up. Signed-off-by: Mai Bui <[email protected]>
- Loading branch information