September 25, 20232 yr Hey i wanted to ask what would be the best way to limit the max Memory / Resource Usage for the Docker Engine. I have enough RAM in general but had an Memory leak in a Docker which nearly killed my System/Host I dont want to configure a memory limit for every container, so it would be best to set it for the complete engine. I found now this guide for ubuntu, would this also possible on unraid or would there be a better way? https://unix.stackexchange.com/a/550954 Regards
September 25, 20232 yr Community Expert Solution The guide is not directly applicable to unRAID. unRAID (thankfully) does not use systemd, and changes to its system files are not persistent across reboots. You would have to write a script to make the changes required to put docker in a cgroup (whatever those are) and run it on start before docker starts.
October 9, 20232 yr Author Thanks for your Answer, i think i will put an feature request in the forum Dont like to moify to much and have problems later after updates for example. Edit: Edited October 9, 20232 yr by unr41dus3r
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.