Docker pools of resources

Hi everyone,
It’s possible to create pool of resources for user? Example user have 3 containers nginx, mysql etc but i want to block transgression of resources without limiting one container but user.

Next idea is SSH forward for container, but i don’t know if this is possible to do