Jump to content

memory limit field per docker image

2 posts in this topic Last Reply

Recommended Posts

Many docker images seem to suffer from memory leaks.  I recently had trouble with Transmission and after some digging found a way to apply a memory limit.  The docker command line can accept a --memory=xG flag, but it's not obvious in UnRAID where to add this.


There were two things to figure out: 1. what flag to add, and 2. where to add the flag


I kept trying to use the "Add another Path, Port, Variable, Label or Device" and couldn't get it to work right.  Eventually I realized that I could toggle to Advanced View and put it into "Extra Parameters:" which I didn't previously realize was the place to add command line flags.


It would be nice if there was a standard field or control in the docker container edit window for putting in a memory limit, and it could just map to adding that flag.  I think a lot of people would want to use this.



Screen Shot 2019-04-27 at 3.09.59 PM.png

Share this post

Link to post

There is a section within the docker FAQ about this

Sent via telekinesis

Share this post

Link to post

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.