I am using Docker and want to determine which processes are running on containers. So, I ran this command in my container, which will use almost 100% of the CPU.
md5sum /dev/urandom
After that, I checked the processes using htop
the main machine.
How can I tell if this command is running inside the container instead of the host?
user4725754
source
share