spiegel_podman/cmd/podman/containers
Charlie Doern 050f3291b9 implement podman update
podman update allows users to change the cgroup configuration of an existing container using the already defined resource limits flags
from podman create/run. The supported flags in crun are:

this command is also now supported in the libpod api via the /libpod/containers/<CID>/update endpoint where
the resource limits are passed inthe request body and follow the OCI resource spec format

–memory
–cpus
–cpuset-cpus
–cpuset-mems
–memory-swap
–memory-reservation
–cpu-shares
–cpu-quota
–cpu-period
–blkio-weight
–cpu-rt-period
–cpu-rt-runtime
-device-read-bps
-device-write-bps
-device-read-iops
-device-write-iops
-memory-swappiness
-blkio-weight-device

resolves #15067

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2022-09-01 13:02:01 -04:00
..
attach.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
checkpoint.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
cleanup.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
clone.go implement podman update 2022-09-01 13:02:01 -04:00
commit.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
container.go bump go module to version 4 2022-01-18 12:47:07 +01:00
cp.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
create.go implement podman update 2022-09-01 13:02:01 -04:00
diff.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exec.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
exists.go bump go module to version 4 2022-01-18 12:47:07 +01:00
export.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
init.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
inspect.go shell completion: update podman inspect --type options 2022-05-19 14:04:22 +02:00
kill.go Add rm --filter option 2022-07-30 10:59:59 +09:00
list.go bump go module to version 4 2022-01-18 12:47:07 +01:00
logs.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
mount.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
pause.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
port.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
prune.go bump go module to version 4 2022-01-18 12:47:07 +01:00
ps.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
rename.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
restart.go Update cmd/podman/containers/restart.go 2022-08-12 09:50:47 +09:00
restore.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
rm.go Refactor: About the RawInput process 2022-08-23 09:58:34 +09:00
run.go implement podman update 2022-09-01 13:02:01 -04:00
runlabel.go bump go module to version 4 2022-01-18 12:47:07 +01:00
start.go Merge pull request #15134 from sstosh/improve-output 2022-08-09 06:13:10 +00:00
stats.go Add podman stats --no-trunc option 2022-08-17 13:16:01 -04:00
stop.go Merge pull request #15134 from sstosh/improve-output 2022-08-09 06:13:10 +00:00
top.go cmd/podman: switch to golang native error wrapping 2022-06-30 12:58:57 +02:00
unmount.go Combine the CheckAllLatest CID and PodID functions 2022-05-26 11:12:40 -04:00
unpause.go Output messages display rawInput 2022-08-02 18:28:37 +09:00
update.go implement podman update 2022-09-01 13:02:01 -04:00
wait.go podman wait can take multiple conditions 2022-07-08 05:26:56 -04:00