I wonder if I might bother you for a bit of help. I have a number of podman containers for training sessions which are launched via systemd with a unit file containing
[Service]
MemoryMax=2G
ExecStart=/etc/ansinode %i
/etc/ansinode is a shell script which invokes podman-run passing it, amongst others, the option `--memory=2g`.
I'm trying to limit the amount of RAM users "see" in the container.
Neither the unit file setting nor podman-run options have any effect.
What am I doing incorrectly?