Specifically you're looking to add something like -m 2048 to set a 2GB max heap memory setting. See the Runtime Arguments section of the Docker Image docs for more information.
I suppose you could simply shell into the container and modify the data/ignition.conf file to set the memory value there. But ideally, you want to associate a persistent data volume with your container so that you can recreate as needed and not lose your gateway state.
I try to edit the ignition.conf file by a container terminal but I not root... And I don't find a solution to be root on the terminal... I can't install a edition file in terminal...
Thank for this solution, if I need to upgrade the RAM later, I will do a full backup and create a new instance. My database for historian isn't in the container so I normally lose nothing....