bash: ps: command not found

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
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *