for example, write a service in python.
python start.py
is the running user root?
if so, are there any security risks?
for example, write a service in python.
python start.py
is the running user root?
if so, are there any security risks?
running users can write in Dockerfile, which defaults to root users.
root users certainly have security risks, and docker best practices recommend using ordinary users (not root) to run applications.
Previous: Maven jar packet conflict problem
Next: How to cut the string aa_bb_cc into an array: ["aa", "bb_cc"]?