4 ms·
One advantage one running GUI apps within a Docker container is that it is, in my experience, totally trivial to put RAM/CPU quotas on piggy apps. Sure, you ma
by TacticalCoder 5y ago
One advantage one running GUI apps within a Docker container is that it is, in my experience, totally trivial to put RAM/CPU quotas on piggy apps. Sure, you may put quotas using other means but it can get tricky (if I'm not mistaken it's particularly tricky on processes forking themselves like there's no tomorrow).
Using a Docker container, which you may already have anyway, putting CPU/RAM quotas is a one-liner.
- amelius 5y agoCan you also add bandwidth quotas?
- TacticalCoder 5y agoThat's a good question, I never tried so I don't know either.
- akvadrako 5y agoIf that's all you want it's easier to use systemd-run and start your process as a service. I do this to put many of my resource hungry apps like FF in slices.