各位在docker中以root运行程序,还是建立普通用户来跑程序呢?
黄舟
黄舟 2017-04-25 09:03:58
0
3
694

怎么操作比较好呢?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
伊谢尔伦

How can I say this? It just depends on the specific situation.

漂亮男人

1 The principle of least permissions, it is best not to use root
2 If there are security holes and privileges are escalated, the container will be useless
Conclusion
If you can do it without root, try not to use it

巴扎黑

If you don’t know how to play Linux, just use root. Security is not very important in the early stages of learning

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!