71

理解 docker 容器中的 uid 和 gid - sparkdev

 5 years ago
source link: https://www.cnblogs.com/sparkdev/p/9614164.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
默认情况下,容器中的进程以 root 用户权限运行,并且这个 root 用户和宿主机中的 root 是同一个用户。听起来是不是很可怕,因为这就意味着一旦容器中的进程有了适当的机会,它就可以控制宿主机上

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK