mirror of https://github.com/docker/docs.git
Update resource_constraints.md
Minimum memory limit updated from 4 megabyte to 6 megabyte to create container. (#41168) I noticed that minimum limit is still 4 megabyte in docker documentation. I edited 4m to 6m.
This commit is contained in:
parent
d4fc9b6bcc
commit
9e5dd4b7eb
|
@ -77,7 +77,7 @@ Most of these options take a positive integer, followed by a suffix of `b`, `k`,
|
|||
|
||||
| Option | Description |
|
||||
|:-----------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `-m` or `--memory=` | The maximum amount of memory the container can use. If you set this option, the minimum allowed value is `4m` (4 megabyte). |
|
||||
| `-m` or `--memory=` | The maximum amount of memory the container can use. If you set this option, the minimum allowed value is `6m` (6 megabyte). |
|
||||
| `--memory-swap`* | The amount of memory this container is allowed to swap to disk. See [`--memory-swap` details](#--memory-swap-details). |
|
||||
| `--memory-swappiness` | By default, the host kernel can swap out a percentage of anonymous pages used by a container. You can set `--memory-swappiness` to a value between 0 and 100, to tune this percentage. See [`--memory-swappiness` details](#--memory-swappiness-details). |
|
||||
| `--memory-reservation` | Allows you to specify a soft limit smaller than `--memory` which is activated when Docker detects contention or low memory on the host machine. If you use `--memory-reservation`, it must be set lower than `--memory` for it to take precedence. Because it is a soft limit, it does not guarantee that the container doesn't exceed the limit. |
|
||||
|
|
Loading…
Reference in New Issue