using the docker compose stats command we extract the memory usage and limit of all the containers. we extract the just the numbers from the usage and then sum up using awk. We're using 3GB of memory.
Just curious to see if I can tune my tmpfs to container VM ratio. Discovered a way to sum up all the containers for a given docker compose file. #docker #commandlinemagic #dayjob #nichetips