Docker best practices about enabling memory and sw

2019-07-09 01:16发布

From Docker docs:

Enabling memory and swap accounting does induce both a memory overhead and a performance degradation even when Docker is not in use. The memory overhead is about 1% of the total available memory. The performance degradation is roughly 10%.

What is the best practices here?

  • always enable this kernel feature
  • enable only on hosts with multiple containers running
  • may be something smart else

标签: docker
0条回答
登录 后发表回答