Docker command limit RAM to 8 GB

Hello,

does somebody know the docker command how to limit RAM and CPU ?

1 Like

Which operating system are you using ? Is it desktop or RPi?

1 Like

I am using Linux running on QNAP

You can use a --memory parameter in your docker run command.
For the 8GB it will be --memory=8G
I would recommend you to read a documentation for docker run command:

1 Like