1
0
mirror of https://github.com/docker/cli.git synced 2025-07-02 15:02:25 +03:00
Files
cli/docs/reference/commandline/container_update.md
Kevin Alvarez 79c9e527a3 docs: generate markdown
Keep frontmatter for docker, dockerd and index markdown files.
Also needs to move cli.md > docker.md before generation and
then move it back because cli.md is needed for yaml generation on docs
website: https://github.com/docker/cli/pull/3924#discussion_r1059986605

Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 22:36:47 +01:00

2.3 KiB

container update

Update configuration of one or more containers

Aliases

docker container update, docker update

Options

Name Type Default Description
--blkio-weight uint16 0 Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0)
--cpu-period int64 0 Limit CPU CFS (Completely Fair Scheduler) period
--cpu-quota int64 0 Limit CPU CFS (Completely Fair Scheduler) quota
--cpu-rt-period int64 0 Limit the CPU real-time period in microseconds
--cpu-rt-runtime int64 0 Limit the CPU real-time runtime in microseconds
-c, --cpu-shares int64 0 CPU shares (relative weight)
--cpus decimal Number of CPUs
--cpuset-cpus string CPUs in which to allow execution (0-3, 0,1)
--cpuset-mems string MEMs in which to allow execution (0-3, 0,1)
-m, --memory bytes 0 Memory limit
--memory-reservation bytes 0 Memory soft limit
--memory-swap bytes 0 Swap limit equal to memory plus swap: -1 to enable unlimited swap
--pids-limit int64 0 Tune container pids limit (set -1 for unlimited)
--restart string Restart policy to apply when a container exits

Description

See docker update for more information.