Last User Is 'root'
- Query id: 67fd0c4a-68cf-46d7-8c41-bc9fba7e40ae
- Query name: Last User Is 'root'
- Platform: Dockerfile
- Severity: Medium
- Category: Best Practices
- URL: Github
Description¶
Leaving the last user as root can cause security risks. Change to another user after running the commands the need privileges
Documentation