I want to know in detail what is bad about using the root user when the docker container runs
Can you share your vulnerabilities or what actions you took when you used the root user you experienced
Share and learn in the Docker community.
I want to know in detail what is bad about using the root user when the docker container runs
Can you share your vulnerabilities or what actions you took when you used the root user you experienced
If there is a security bug in the container software, you could break out of the container and would be root on host.
If you set the user to a more restricted one inside the container, then the user would have restricted rights on host, too.