Managing the Running User of Docker Containers
You are advised to use non-root users or root user in non-privileged containers to use Docker during container running.
Parent topic: Hardening Container Security
You are advised to use non-root users or root user in non-privileged containers to use Docker during container running.