Merge pull request #2040 from stickperson/patch-1

Add documentation for mem_swappiness
This commit is contained in:
Misty Stanley-Jones 2017-03-01 15:40:46 -08:00 committed by GitHub
commit 91d31ead22
3 changed files with 3 additions and 3 deletions

View File

@ -475,7 +475,7 @@ is specified, then read-write will be used.
- service_name - service_name
- service_name:ro - service_name:ro
### cpu\_shares, cpu\_quota, cpuset, domainname, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, privileged, read\_only, restart, shm\_size, stdin\_open, tty, user, working\_dir ### cpu\_shares, cpu\_quota, cpuset, domainname, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, mem\_swappiness, privileged, read\_only, restart, shm\_size, stdin\_open, tty, user, working\_dir
Each of these is a single value, analogous to its Each of these is a single value, analogous to its
[docker run](/engine/reference/run.md) counterpart. [docker run](/engine/reference/run.md) counterpart.

View File

@ -883,7 +883,7 @@ then read-write will be used.
> - container_name > - container_name
> - container_name:rw > - container_name:rw
### cpu\_shares, cpu\_quota, cpuset, domainname, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, oom_score_adj, privileged, read\_only, restart, shm\_size, stdin\_open, tty, user, working\_dir ### cpu\_shares, cpu\_quota, cpuset, domainname, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, mem\_swappiness, oom_score_adj, privileged, read\_only, restart, shm\_size, stdin\_open, tty, user, working\_dir
Each of these is a single value, analogous to its Each of these is a single value, analogous to its
[docker run](/engine/reference/run.md) counterpart. [docker run](/engine/reference/run.md) counterpart.

View File

@ -247,7 +247,7 @@ updates.
Configures resource constraints. This replaces the older resource constraint Configures resource constraints. This replaces the older resource constraint
options in Compose files prior to version 3 (`cpu_shares`, `cpu_quota`, options in Compose files prior to version 3 (`cpu_shares`, `cpu_quota`,
`cpuset`, `mem_limit`, `memswap_limit`). `cpuset`, `mem_limit`, `memswap_limit`, `mem_swappiness`).
Each of these is a single value, analogous to its Each of these is a single value, analogous to its
[docker run](/engine/reference/run.md) counterpart. [docker run](/engine/reference/run.md) counterpart.