Limit by CPU:
Use docker run -c option.
Limit RAM:
docker run -m 1024m
Limit by HDD:
There is no universal way to achieve it. It is recommended to use devicemapper storage
driver.
Also, by default the size of container is 10 Gb. This can be tuned by changing the parameter dm.basesize.
Комментариев нет:
Отправить комментарий