How to run pipeline container as default user



I have a docker container which starts from node in which the default user is user node.
But when I run some commands in pipeline they are running by root user.
How can I specify which user should run pipeline commands ?