mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #6680 from mheon/cgroup_memory
Update docker-run manpage
This commit is contained in:
commit
ff20637499
1 changed files with 4 additions and 2 deletions
|
@ -103,8 +103,10 @@ container can be started with the **--link**.
|
|||
**-m**, **-memory**=*memory-limit*
|
||||
Allows you to constrain the memory available to a container. If the host
|
||||
supports swap memory, then the -m memory setting can be larger than physical
|
||||
RAM. If a limit of 0 is specified, the container's memory is not limited. The
|
||||
memory limit format: <number><optional unit>, where unit = b, k, m or g.
|
||||
RAM. If a limit of 0 is specified, the container's memory is not limited. The
|
||||
actual limit may be rounded up to a multiple of the operating system's page
|
||||
size, if it is not already. The memory limit should be formatted as follows:
|
||||
`<number><optional unit>`, where unit = b, k, m or g.
|
||||
|
||||
**-P**, **-publish-all**=*true*|*false*
|
||||
When set to true publish all exposed ports to the host interfaces. The
|
||||
|
|
Loading…
Add table
Reference in a new issue