ВсеПитание и сонУход за собойОкружающее пространствоМентальное здоровьеОтношения
If you enable --privileged just to get CAP_SYS_ADMIN for nested process isolation, you have added one layer (nested process visibility) while removing several others (seccomp, all capability restrictions, device isolation). The net effect is arguably weaker isolation than a standard unprivileged container. This is a real trade-off that shows up in production. The ideal solutions are either to grant only the specific capability needed instead of all of them, or to use a different isolation approach entirely that does not require host-level privileges.
,这一点在夫子中也有详细论述
Get editor selected deals texted right to your phone!
Author(s): Ramsey Issa, Said Hamad, Ricardo Grau-Crespo, Emad Awad, Taylor D. Sparks
这篇文章,我帮你把这件事彻底讲清楚。