How can the docker container pstree display a complete list of processes?

  1. I enter the bash environment of the docker container, and executing pstree-a shows only one process. How can I make all the processes show?

clipboard.png

for example, execute ps-auxf , and the process is displayed completely. How do you write pstree?

May.09,2022
Menu