DOCKER(1) Docker User Manuals DOCKER(1) (NAME) docker-container-update - (SYNOPSIS) docker container update [OPTIONS] CONTAINER [CONTAINER...] (DESCRIPTION) docker container update . . . . (OPTIONS) memory (: [] b k m g ) swap . swap swap . docker create/run swap swap . (EXAMPLES) . cpu-shares cpu-shares . docker ps . docker run . : $ docker container update --cpu-shares 512 abebf7571666 cpu-shares : $ docker container update --cpu-shares 512 -m 300M abebf7571666 hopeful_morse (restart policy) . docker container update . : $ docker container update --restart=on-failure:3 abebf7571666 hopeful_morse "--rm" . AutoRemove RestartPolicy . (OPTIONS) --blkio-weight=0 / ( ) ( ) --cpu-period=0 (CFS) --cpu-quota=0 (CFS) --cpu-rt-period=0 (real-time) --cpu-rt-runtime=0 (real-time) -c, --cpu-shares=0 ( ) --cpus= --cpuset-cpus="" (0-3, 0,1) --cpuset-mems="" (0-3, 0,1) -m, --memory=0 --memory-reservation=0 --memory-swap=0 swap swap: -1 swap --pids-limit=0 (PID) ( -1 ) --restart="" (SEE ALSO) docker-container(1) Docker Community Aug 2026 DOCKER(1)