Answer the question
In order to leave comments, you need to log in
How to increase the resources available to a container in Docker?
Docker is installed on mac os, in the settings via the GUI, you can increase the number of cores and the amount of memory that will be available to containers. How to do the same without using the GUI , for example on centos via the console?
the docker run command seems to allocate resources within the scope we specify in the GUI. Tk when I try to specify 3 cores, it gives an error ...
Answer the question
In order to leave comments, you need to log in
On OS X, these settings affect the virtual machine running docker.
On Linux, docker is running without intermediaries.
By default, the container gets access to all memory and cores, resource control options allow you to limit containers, when the aisles are reached, the container will be restarted (default behavior)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question