Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allocate ram memory to docker engine on ubuntu

Tags:

docker

ram

sentry

I'm setting sentry using docker on ubuntu, and when I tried to run install.sh I encountered this message

FAIL: Expected minimum RAM available to Docker to be 2400 MB but found 983 MB

I know how to allocate ram memory using GUI, but since I'm working on ubuntu server using ssh I would like to know how to allocate ram using cli, not allocating memory by container, just allocating ram to docker engine.


1 Answers

By default, there is no limit on how much memory or CPU a container can use. It can use as much as the host’s kernel scheduler allows. So this error caused by not enough memory from native linux