docker-update(1)

docker-update1

Update configuration of one or more containers

Usage

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

Overview

Alias for docker container update.

Options

--blkio-weight=0
Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)

--cpu-period=0
Limit CPU CFS (Completely Fair Scheduler) period

--cpu-quota=0
Limit CPU CFS (Completely Fair Scheduler) quota

--cpu-rt-period=0
Limit the CPU real-time period in microseconds

--cpu-rt-runtime=0
Limit the CPU real-time runtime in microseconds

-c, --cpu-shares=0
CPU shares (relative weight)

--cpus=
Number of CPUs

--cpuset-cpus=""
CPUs in which to allow execution (0-3, 0,1)

--cpuset-mems=""
MEMs in which to allow execution (0-3, 0,1)

-m, --memory=0
Memory limit

--memory-reservation=0
Memory soft limit

--memory-swap=0
Swap limit equal to memory plus swap: -1 to enable unlimited swap

--pids-limit=0
Tune container pids limit (set -1 for unlimited)

--restart=""
Restart policy to apply when a container exits

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From docker 1:29.9.2-1 in Arch Linux 2026-11-01. Also shipped by podman-docker. Parsed by carta from the page's man source.