bash: ps: command not found Error after creating docker containr
Posted on: Sep 22, 2018by: Shakeel J
After creating docker container not able to check process ID for nginx on Docker container. I am following the Docker LifeCycle Container video for Docker quick start, need help!!!!
root@2ca0bff96695:/# ps aux | grep nginx
bash: ps: command not found
Try installing the "procps" package. Inside the container. You can install it with "yum install procps" or "apt-get procps" depending on the distribution. And then you should be able to run the "ps" command.