mirror of
https://github.com/containers/podman.git
synced 2025-07-17 17:43:23 +08:00
Update manpages for image volumes and MAC address
When reviewing the manpages for `podman run` to find options to test, I found a few mistakes. The description of how we handle image volumes is extremely outdated, and we now provide full support for the `--mac-address` option. Update the docs for these flags so they're accurate. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
@ -358,12 +358,12 @@ Defaults to `true`
|
|||||||
|
|
||||||
**--image-volume**, **builtin-volume**=*bind|tmpfs|ignore*
|
**--image-volume**, **builtin-volume**=*bind|tmpfs|ignore*
|
||||||
|
|
||||||
Tells Podman how to handle the builtin image volumes. The options are: 'bind', 'tmpfs', or 'ignore' (default 'bind').
|
Tells Podman how to handle the builtin image volumes. Default is **bind**.
|
||||||
bind: A directory is created inside the container state directory and bind mounted into
|
|
||||||
the container for the volumes.
|
- **bind**: An anonymous named volume will be created and mounted into the container.
|
||||||
tmpfs: The volume is mounted onto the container as a tmpfs, which allows the users to create
|
- **tmpfs**: The volume is mounted onto the container as a tmpfs, which allows the users to create
|
||||||
content that disappears when the container is stopped.
|
content that disappears when the container is stopped.
|
||||||
ignore: All volumes are just ignored and no action is taken.
|
- **ignore**: All volumes are just ignored and no action is taken.
|
||||||
|
|
||||||
**--init**
|
**--init**
|
||||||
|
|
||||||
@ -445,8 +445,6 @@ Remember that the MAC address in an Ethernet network must be unique.
|
|||||||
The IPv6 link-local address will be based on the device's MAC address
|
The IPv6 link-local address will be based on the device's MAC address
|
||||||
according to RFC4862.
|
according to RFC4862.
|
||||||
|
|
||||||
Not currently supported
|
|
||||||
|
|
||||||
**--memory**, **-m**=*limit*
|
**--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 (kilobytes), m (megabytes), or g (gigabytes))
|
||||||
|
@ -371,8 +371,7 @@ Defaults to **true**.
|
|||||||
|
|
||||||
Tells Podman how to handle the builtin image volumes. Default is **bind**.
|
Tells Podman how to handle the builtin image volumes. Default is **bind**.
|
||||||
|
|
||||||
- **bind**: A directory is created inside the container state directory and bind mounted into
|
- **bind**: An anonymous named volume will be created and mounted into the container.
|
||||||
the container for the volumes.
|
|
||||||
- **tmpfs**: The volume is mounted onto the container as a tmpfs, which allows the users to create
|
- **tmpfs**: The volume is mounted onto the container as a tmpfs, which allows the users to create
|
||||||
content that disappears when the container is stopped.
|
content that disappears when the container is stopped.
|
||||||
- **ignore**: All volumes are just ignored and no action is taken.
|
- **ignore**: All volumes are just ignored and no action is taken.
|
||||||
@ -454,8 +453,6 @@ Remember that the MAC address in an Ethernet network must be unique.
|
|||||||
The IPv6 link-local address will be based on the device's MAC address
|
The IPv6 link-local address will be based on the device's MAC address
|
||||||
according to RFC4862.
|
according to RFC4862.
|
||||||
|
|
||||||
Not currently supported
|
|
||||||
|
|
||||||
**--memory**, **-m**=_number_[_unit_]
|
**--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** (kilobytes), **m** (megabytes), or **g** (gigabytes).
|
||||||
|
Reference in New Issue
Block a user