mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
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:
@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user