How tu run the notebook as a different user than the default one jovyan

All, can anyone please provide a full example about how to start a notebook with a different user than jovyan? I’ve read this doc
but there is no example related and it seems it is mandatory to run the container as root:
"you must run the container with --user root , set the working directory -w /home/$NB_USER and set the environment variable -e CHOWN_HOME=yes "

Are you referring to the user inside the docker container or on the host machine?

The user inside the docker container…

then check the docker recipe (Dockerfile) where that user is created and set up. The user jovyan is also used for displaying Jupyter Notebooks online.