github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/update.md (about) 1 # docker update 2 3 <!---MARKER_GEN_START--> 4 Update configuration of one or more containers 5 6 ### Aliases 7 8 `docker container update`, `docker update` 9 10 ### Options 11 12 | Name | Type | Default | Description | 13 |:-----------------------|:----------|:--------|:-----------------------------------------------------------------------------| 14 | `--blkio-weight` | `uint16` | `0` | Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) | 15 | `--cpu-period` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) period | 16 | `--cpu-quota` | `int64` | `0` | Limit CPU CFS (Completely Fair Scheduler) quota | 17 | `--cpu-rt-period` | `int64` | `0` | Limit the CPU real-time period in microseconds | 18 | `--cpu-rt-runtime` | `int64` | `0` | Limit the CPU real-time runtime in microseconds | 19 | `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) | 20 | `--cpus` | `decimal` | | Number of CPUs | 21 | `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) | 22 | `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) | 23 | `-m`, `--memory` | `bytes` | `0` | Memory limit | 24 | `--memory-reservation` | `bytes` | `0` | Memory soft limit | 25 | `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap | 26 | `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) | 27 | `--restart` | `string` | | Restart policy to apply when a container exits | 28 29 30 <!---MARKER_GEN_END--> 31