mirror of https://github.com/docker/docs.git
mem_swappiness for current version and v1
This commit is contained in:
parent
f3cddaad80
commit
963e6b5e6c
|
@ -475,7 +475,7 @@ is specified, then read-write will be used.
|
|||
- service_name
|
||||
- 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
|
||||
[docker run](/engine/reference/run.md) counterpart.
|
||||
|
|
|
@ -247,7 +247,7 @@ updates.
|
|||
|
||||
Configures resource constraints. This replaces the older resource constraint
|
||||
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
|
||||
[docker run](/engine/reference/run.md) counterpart.
|
||||
|
|
Loading…
Reference in New Issue