yujun777 opened a new pull request, #43040:
URL: https://github.com/apache/doris/pull/43040

   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',   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 ...
   ```
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to