Extra Parameters question?


Recommended Posts

is --memory=1G not correct to limit memory usage by a docker?

 

im getting this error:

 

--memory=1G 'oznu/homebridge' 

WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.

Link to comment
10 hours ago, spl147 said:

is --memory=1G not correct to limit memory usage by a docker?

Yes, with that you limit the memory to 1G and if the container exceeds that memory limitation it will kill apps inside the container because you are running into a OOM error in the container.

 

10 hours ago, spl147 said:

WARNING: Your kernel does not support swap limit capabilities

Unraid has no swap so this message is displayed and the essential part is:

10 hours ago, spl147 said:

Memory limited without swap.

 

Link to comment

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.

Guest
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.