Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Running as root within a container means your still running as root on the host as well for the underlying process. If there's a security issue with containerization, you'll end up with root on the host.

Running as a non-root user in the container is an extra level of protection and follows the principle of least privilege.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: