docker container update

Update configuration of one or more containers

Usage

docker container update [OPTIONS] CONTAINER [CONTAINER...]

Description

See docker update for more information.

Options

OptionShortDefaultDescription
--blkio-weightBlock IO (relative weight), between 10 and 1000, or 0 to disable (default 0)
--cpu-periodLimit CPU CFS (Completely Fair Scheduler) period
--cpu-quotaLimit CPU CFS (Completely Fair Scheduler) quota
--cpu-rt-periodAPI 1.25+ Limit the CPU real-time period in microseconds
--cpu-rt-runtimeAPI 1.25+ Limit the CPU real-time runtime in microseconds
--cpu-shares-cCPU shares (relative weight)
--cpusAPI 1.29+ Number of CPUs
--cpuset-cpusCPUs in which to allow execution (0-3, 0,1)
--cpuset-memsMEMs in which to allow execution (0-3, 0,1)
--kernel-memoryDeprecated Kernel memory limit (deprecated)
--memory-mMemory limit
--memory-reservationMemory soft limit
--memory-swapSwap limit equal to memory plus swap: -1 to enable unlimited swap
--pids-limitAPI 1.40+ Tune container pids limit (set -1 for unlimited)
--restartRestart policy to apply when a container exits