Debugging

Run following command to check the resource usage of containers:

docker stats --no-stream

In order to sort output, you can run following commands:

Sort by Memory:

docker stats --no-stream | sort -k 5

Sort by CPU:

docker stats --no-stream | sort -k 3