docker update

Update configuration of one or more containers

Aliases

docker container update, docker update

Options

NameTypeDefaultDescription
--blkio-weightuint160Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)
--cpu-periodint640Limit CPU CFS (Completely Fair Scheduler) period
--cpu-quotaint640Limit CPU CFS (Completely Fair Scheduler) quota
--cpu-rt-periodint640Limit the CPU real-time period in microseconds
--cpu-rt-runtimeint640Limit the CPU real-time runtime in microseconds
-c, --cpu-sharesint640CPU shares (relative weight)
--cpusdecimalNumber of CPUs
--cpuset-cpusstringCPUs in which to allow execution (0-3, 0,1)
--cpuset-memsstringMEMs in which to allow execution (0-3, 0,1)
-m, --memorybytes0Memory limit
--memory-reservationbytes0Memory soft limit
--memory-swapbytes0Swap limit equal to memory plus swap: -1 to enable unlimited swap
--pids-limitint640Tune container pids limit (set -1 for unlimited)
--restartstringRestart policy to apply when a container exits