Add information about --latest support on man pages

On Mac and Windows systems the --latest option is not supported
this PR mentions this fact in the examples section of the man page.
Also added documentation and consistency to the man pages examples
sections.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2024-01-10 06:47:00 -05:00
parent d084146864
commit d3a49fdedb
61 changed files with 377 additions and 142 deletions

View File

@ -58,17 +58,17 @@ This command takes one argument, a container name or ID, alongside the resource
## EXAMPLEs
update a container with a new cpu quota and period
Update a container with a new cpu quota and period.
```
podman update --cpus=5 myCtr
```
update a container with all available options for cgroups v2
Update a container with all available options for cgroups v2.
```
podman update --cpus 5 --cpuset-cpus 0 --cpu-shares 123 --cpuset-mems 0 --memory 1G --memory-swap 2G --memory-reservation 2G --blkio-weight-device /dev/zero:123 --blkio-weight 123 --device-read-bps /dev/zero:10mb --device-write-bps /dev/zero:10mb --device-read-iops /dev/zero:1000 --device-write-iops /dev/zero:1000 --pids-limit 123 ctrID
```
update a container with all available options for cgroups v1
Update a container with all available options for cgroups v1.
```
podman update --cpus 5 --cpuset-cpus 0 --cpu-shares 123 --cpuset-mems 0 --memory 1G --memory-swap 2G --memory-reservation 2G --memory-swappiness 50 --pids-limit 123 ctrID
```