github-actions[bot] opened a new pull request, #43091:
URL: https://github.com/apache/doris/pull/43091

   PR Body: Our workmates run doris compose on the same dev machine.  Sometimes 
some docker doris_be consume high cpu. We want to find out it belongs to who. 
But if show processes with command 'ps -elf'  on host machine,   we only find 
out that  its owner is root.
   What a pitty. So we let doris compose docker run as host user. Then use 
command 'ps -elf' can known who it belongs to.
   
   To achive this goal,  we pass host user and uid into docker container, and 
let container add a new user the same with it, then run command with this new 
account.
   
   If user still want to run as root in container,  they need to pass options  
'--root'  when creating a new doris compose cluster.
   
   ```
   # run as root in container
   python doris-compose.py  up   --root ...
   
   #run as host user in container
   python doris-compose.py up ...
   ```
   
    
    Cherry-picked from #43040


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to