I am using the python API of Docker. How can I limit the memory used by a group of Docker containers? (not on Kubernetes but on a regular, vanilla Docker machine).
Let's say we have container A and B:
The The Sum of both should not exceed 4 GB. I
I don't want to limit each one to say 2 GB. I want to give them a little flexibility. Any help is greatly appreciated.