podman-update(1) General Commands Manual podman-update(1) (NAME) podman-update - (SYNOPSIS) podman update [] podman container update [] (DESCRIPTION) . (OPTIONS) --blkio-weight=weight Block IO. weight 10 1000 . (rootless) cgroups V1 . --blkio-weight-device=device:weight Block IO. --cpu-period=limit CPU (CFS) . CPU . 100000 . . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --cpu-quota=limit (CFS) . . CPU . . CPU ( --cpu-period) CPU . . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --cpu-rt-period=microseconds (Real-Time) . . CPU . (rootful) cgroups V1 . --cpu-rt-runtime=microseconds (Real-Time) . . CPU . : 1,000,000 950,000 . cgroup . cgroups V1 . --cpu-shares, -c=shares ( ). CPU . CPU . 1024 . . CPU . CPU . : cpu- share 1024 512 . CPU . cpu-share 1024 CPU . . . CPU . CPU . . . C0 --cpu-shares=512 C1 --cpu-shares=1024 CPU : +----+-----------------------+-----+------------------------------------+ |PID | | CPU | | +----+-----------------------+-----+------------------------------------+ |100 | C0 | 0 | 100% of CPU0 | +----+-----------------------+-----+------------------------------------+ |101 | C1 | 1 | 100% of CPU1 | +----+-----------------------+-----+------------------------------------+ |102 | C1 | 2 | 100% of CPU2 | +----+-----------------------+-----+------------------------------------+ . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --cpus=number CPU. 0.0 . --cpu-period --cpu- quota --cpu-period --cpu- quota . CPU . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --cpuset-cpus=number . ( 0,1) ( 0-3) ( 0-3,7,11-15) . . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --cpuset-mems=nodes (MEM) (0-3 0,1). NUMA . (0-3) --cpuset-mems=0,1 . . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --device-read-bps=path:rate ( ) ( --device-read-bps=/dev/sda:1mb). . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --device-read-iops=path:rate ( / ) ( --device-read-iops=/dev/sda:1000). . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --device-write-bps=path:rate ( ) ( --device-write-bps=/dev/sda:1mb). . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --device-write-iops=path:rate ( / ) ( --device-write-iops=/dev/sda:1000). . : https://github.com/containers/podman/blob/main/troubleshooting.md#26-running- containers-with-resource-limits-fails-with-a-permissions-error cgroups V1 . --env, -e=env ( env=value) . . . --unsetenv . . --health-cmd="command" | '["command", arg1 , ...]' . . . none . JSON /bin/sh -c . : . --health-interval=interval . disable . 30s . : . . --health-log-destination=directory_path HealthCheck. local events_logger ( local ) (: local) o local: () HealthCheck overlay . ( : $runroot/healthcheck.log) o directory: -healthcheck.log HealthCheck . o events_logger: events_logger . . : . --health-max-log-count=number of stored logs HealthCheck. ( '0' ) (: 5 ) --health-max-log-size=size of stored logs HealthCheck . ( "0" ) (: 500 ) --health-on-failure=action . none . o none: . o kill: (kill). o restart: (restart). restart --restart . systemd kill stop systemd . o stop: (stop). --health-retries=retries . 3 . : . --health-start-period=period . 2m3s . 0s . : healthy . --health-start-period starting . --health- start-period unhealthy . --health-interval . : . --health-startup-cmd="command" | '["command", arg1 , ...]' . . . . . ( --health-cmd) . --health-startup-interval=interval . disable . 30s . . --health-startup-retries=retries . 0 . 0 . --health-startup-success=retries . 0 . 0 . --health-startup-timeout=timeout . 2m3s . 30s . --health-timeout=timeout . start-period 1m22s . 30s . : (timeout) . timeout SIGKILL . : . --latest, -l . : . ( ( WSL2) ). --memory, -m=number[unit] . (unit) b () k () m () g () . . swap --memory . 0 ( --memory) . ( ). cgroups V1 . --memory-reservation=number[unit] . (unit) b () k () m () g () . . --memory . . cgroups V1 . --memory-swap=number[unit] (swap). (unit) b () k () m () g () . -m (--memory) . -m (--memory) . --memory . swap number -1 . cgroups V1 . --memory-swappiness=number swappiness . 0 100 . (rootful) cgroups V1 . --no-healthcheck . --pids-limit=limit pids . pid -1 . cgroup "pids" 2048 . --restart=policy . podman kill podman stop . policy : o no : o never : no o on-failure[:max_retries] : max_retries o always : o unless-stopped : . (reboot) podman-restart.service . always always systemd podman-restart.service . systemd systemd . Restart= [Service] . podman-systemd.unit(5) systemd.service(5) . --ulimit=option ulimit. ulimit . --ulimit =[:] . : $ podman run --ulimit nofile=1024:1024 --rm ubi9 ulimit -n 1024 -1 . rootful . nofile nproc 1048576 containers.conf(5) . rootless . host . nproc ulimit nproc . --pids-limit cgroup . : ulimit . --unsetenv=env . . (EXAMPLES) : podman update --cpus=0.5 ctrID CPU: podman update --latest --cpus=1 ulimit : podman update --ulimit nofile=1024:1024 ctrID : 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/sda:123 --blkio-weight 123 \ --device-read-bps /dev/sda:10mb --device-write-bps /dev/sda:10mb \ --device-read-iops /dev/sda:1000 --device-write-iops /dev/sda:1000 \ --pids-limit 123 ctrID (SEE ALSO) podman(1), podman-create(1), podman-run(1) (HISTORY) Latest Hayato Kihara kai.21banana@gmail.com Charlie Doern cdoern@redhat.com podman-update(1)