Signed-off-by: Yuan Sun <sunyuan3@huawei.com>
| ... | ... |
@@ -101,7 +101,7 @@ the number of containers running on the system. |
| 101 | 101 |
For example, consider three containers, one has a cpu-share of 1024 and |
| 102 | 102 |
two others have a cpu-share setting of 512. When processes in all three |
| 103 | 103 |
containers attempt to use 100% of CPU, the first container would receive |
| 104 |
-50% of the total CPU time. If you add a fouth container with a cpu-share |
|
| 104 |
+50% of the total CPU time. If you add a fourth container with a cpu-share |
|
| 105 | 105 |
of 1024, the first container only gets 33% of the CPU. The remaining containers |
| 106 | 106 |
receive 16.5%, 16.5% and 33% of the CPU. |
| 107 | 107 |
|
| ... | ... |
@@ -239,7 +239,7 @@ system's page size (the value would be very large, that's millions of trillions) |
| 239 | 239 |
Total memory limit (memory + swap) |
| 240 | 240 |
|
| 241 | 241 |
Set `-1` to disable swap (format: <number><optional unit>, where unit = b, k, m or g). |
| 242 |
-This value should always larger than **-m**, so you should alway use this with **-m**. |
|
| 242 |
+This value should always larger than **-m**, so you should always use this with **-m**. |
|
| 243 | 243 |
|
| 244 | 244 |
**--mac-address**="" |
| 245 | 245 |
Container MAC address (e.g. 92:d0:c6:0a:29:33) |