bash: ps: command not found

Written by Yujin Boby

Edit in WordPress

On a docker image, when i run ps, i get error

root@2efea503e8b7:~# ps
bash: ps: command not found
root@2efea503e8b7:~# 

To install ps on Debian/Ubuntu, run

apt -y install procps