I run 1 Portainer stack on Docker (Photnix) and it uses 89% of the Ram memory (Total 4GB Ram) which not allow me to do anything else, is there someway to control the Ram size that the Docker may use specially that I plan to use more stacks ?!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Planning to do but for sorry can't find yet the suitable ram in the market, thank youI recommend to at least double the ram for docker and VM applications
and how I can limit the memory usage of a container ?!You can limit the memory usage of a container, and prevent it from hogging host memory. It is not uncommon programs use free memory for caching. Though, normally the "cache" memory should get freed up when requested from another program.
Please be aware that programs that do not respect cgroup resource limits can be oom killed, if they request more memory than the configured limit.
how I can limit the memory usage of a containerhow I can limit the memory usage of a container
Thank you, but this not working for me, that's why I came to ask here , possible I do something wrong but I don't know what is it, my steps is that I try to make the commands through the SSH but what I'm getting is permission denied to root so I can't get to docker
docker run
commands or in case docker compose was used, the content of the compose file.We use essential cookies to make this site work, and optional cookies to enhance your experience.