Usually inside the Debian 12 container, you will not be able to list the processes inside the container cause procps
package is not installed by default. Let’s install procps
on Debian 12.
Prerequisites
- Debian 12
- sudo privileges
Install ps on Debian 12
Step 1. Update the packages.
sudo apt update
Step 2. Install ps.
sudo apt install procps
Step 3. Verify the installation.
ps aux
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.