mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
Merge pull request #14467 from karthikelango137/bytes
[CI:DOCS] changed megabyte to mebibyte
This commit is contained in:
@ -12,7 +12,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
const sizeWithUnitFormat = "(format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))"
|
||||
const sizeWithUnitFormat = "(format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))"
|
||||
|
||||
var containerConfig = registry.PodmanConfig()
|
||||
|
||||
|
@ -435,8 +435,8 @@ if it does not exist. This option is useful for building multi architecture imag
|
||||
|
||||
#### **--memory**, **-m**=*LIMIT*
|
||||
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes),
|
||||
m (megabytes), or g (gigabytes))
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes),
|
||||
m (mebibytes), or g (gibibytes))
|
||||
|
||||
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
|
||||
@ -453,7 +453,7 @@ A limit value equal to memory plus swap. Must be used with the **-m**
|
||||
the value of --memory.
|
||||
|
||||
The format of `LIMIT` is `<number>[<unit>]`. Unit can be `b` (bytes),
|
||||
`k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you don't specify a
|
||||
`k` (kibibytes), `m` (mebibytes), or `g` (gibibytes). If you don't specify a
|
||||
unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
|
||||
|
||||
#### **--network**=*mode*, **--net**
|
||||
@ -631,8 +631,8 @@ as a seccomp filter
|
||||
|
||||
Size of `/dev/shm`. The format is `<number><unit>`. `number` must be greater
|
||||
than `0`.
|
||||
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m`(megabytes), or
|
||||
`g` (gigabytes). If you omit the unit, the system uses bytes. If you omit the
|
||||
Unit is optional and can be `b` (bytes), `k` (kibibytes), `m`(mebibytes), or
|
||||
`g` (gibibytes). If you omit the unit, the system uses bytes. If you omit the
|
||||
size entirely, the system uses `64m`.
|
||||
|
||||
#### **--sign-by**=*fingerprint*
|
||||
|
@ -131,7 +131,7 @@ Force removal of the original container that we are cloning. Can only be used in
|
||||
|
||||
#### **--memory**, **-m**=*limit*
|
||||
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
|
||||
Allows the memory available to a container to be constrained. If the host
|
||||
supports swap memory, then the **-m** memory setting can be larger than physical
|
||||
@ -143,7 +143,7 @@ If no memory limits are specified, the original container's will be used.
|
||||
|
||||
#### **--memory-reservation**=*limit*
|
||||
|
||||
Memory soft limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))
|
||||
Memory soft limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
|
||||
After setting memory reservation, when the system detects memory contention
|
||||
or low memory, containers are forced to restrict their consumption to their
|
||||
@ -159,7 +159,7 @@ A limit value equal to memory plus swap. Must be used with the **-m**
|
||||
the value of --memory if specified. Otherwise, the container being cloned will be used to derive the swap value.
|
||||
|
||||
The format of `LIMIT` is `<number>[<unit>]`. Unit can be `b` (bytes),
|
||||
`k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you don't specify a
|
||||
`k` (kibibytes), `m` (mebibytes), or `g` (gibibytes). If you don't specify a
|
||||
unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
|
||||
|
||||
#### **--memory-swappiness**=*number*
|
||||
|
@ -573,7 +573,7 @@ To specify multiple static MAC addresses per container, set multiple networks us
|
||||
|
||||
#### **--memory**, **-m**=*limit*
|
||||
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))
|
||||
Memory limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
|
||||
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
|
||||
@ -583,7 +583,7 @@ system's page size (the value would be very large, that's millions of trillions)
|
||||
|
||||
#### **--memory-reservation**=*limit*
|
||||
|
||||
Memory soft limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))
|
||||
Memory soft limit (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
|
||||
After setting memory reservation, when the system detects memory contention
|
||||
or low memory, containers are forced to restrict their consumption to their
|
||||
@ -599,7 +599,7 @@ A limit value equal to memory plus swap. Must be used with the **-m**
|
||||
the value of --memory.
|
||||
|
||||
The format of `LIMIT` is `<number>[<unit>]`. Unit can be `b` (bytes),
|
||||
`k` (kilobytes), `m` (megabytes), or `g` (gigabytes). If you don't specify a
|
||||
`k` (kibibytes), `m` (mebibytes), or `g` (gibibytes). If you don't specify a
|
||||
unit, `b` is used. Set LIMIT to `-1` to enable unlimited swap.
|
||||
|
||||
#### **--memory-swappiness**=*number*
|
||||
@ -1013,7 +1013,7 @@ Note: Labeling can be disabled for all containers by setting label=false in the
|
||||
|
||||
#### **--shm-size**=*size*
|
||||
|
||||
Size of `/dev/shm` (format: `<number>[<unit>]`, where unit = b (bytes), k (kilobytes), m (megabytes), or g (gigabytes))
|
||||
Size of `/dev/shm` (format: `<number>[<unit>]`, where unit = b (bytes), k (kibibytes), m (mebibytes), or g (gibibytes))
|
||||
If you omit the unit, the system uses bytes. If you omit the size entirely, the system uses `64m`.
|
||||
When size is `0`, there is no limit on the amount of memory used for IPC by the container.
|
||||
|
||||
|
@ -597,7 +597,7 @@ To specify multiple static MAC addresses per container, set multiple networks us
|
||||
|
||||
#### **--memory**, **-m**=_number_[_unit_]
|
||||
|
||||
Memory limit. A _unit_ can be **b** (bytes), **k** (kilobytes), **m** (megabytes), or **g** (gigabytes).
|
||||
Memory limit. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
|
||||
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
|
||||
@ -607,7 +607,7 @@ system's page size (the value would be very large, that's millions of trillions)
|
||||
|
||||
#### **--memory-reservation**=_number_[_unit_]
|
||||
|
||||
Memory soft limit. A _unit_ can be **b** (bytes), **k** (kilobytes), **m** (megabytes), or **g** (gigabytes).
|
||||
Memory soft limit. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
|
||||
After setting memory reservation, when the system detects memory contention
|
||||
or low memory, containers are forced to restrict their consumption to their
|
||||
@ -618,7 +618,7 @@ as memory limit.
|
||||
#### **--memory-swap**=_number_[_unit_]
|
||||
|
||||
A limit value equal to memory plus swap.
|
||||
A _unit_ can be **b** (bytes), **k** (kilobytes), **m** (megabytes), or **g** (gigabytes).
|
||||
A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
|
||||
Must be used with the **-m** (**--memory**) flag.
|
||||
The argument value should always be larger than that of
|
||||
@ -1058,7 +1058,7 @@ Note: Labeling can be disabled for all containers by setting **label=false** in
|
||||
|
||||
#### **--shm-size**=_number_[_unit_]
|
||||
|
||||
Size of _/dev/shm_. A _unit_ can be **b** (bytes), **k** (kilobytes), **m** (megabytes), or **g** (gigabytes).
|
||||
Size of _/dev/shm_. A _unit_ can be **b** (bytes), **k** (kibibytes), **m** (mebibytes), or **g** (gibibytes).
|
||||
If you omit the unit, the system uses bytes. If you omit the size entirely, the default is **64m**.
|
||||
When _size_ is **0**, there is no limit on the amount of memory used for IPC by the container.
|
||||
|
||||
|
Reference in New Issue
Block a user