How to restrict root access to the console from Portainer

Hello All,

I would like to know on how to restrict root access to the console from Portainer it seems people can login as a root to the container when given an access and i want them to restrict using root as user to login to console and they should login with their user ID.

99% of all Docker containers are privileged containers where all services run as root.
There simply is no other user than root inside the docker container.

Check this guide on how to build a container in a way that doesn’t use root to run the processes: