docker update

docker update

Description

Update configuration of one or more containers

Usage

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

Options

Name, shorthand Default Description
--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
--cpu-shares, -c 0 CPU shares (relative weight)
--cpuset-cpus CPUs in which to allow execution (0-3, 0,1)
--cpuset-mems MEMs in which to allow execution (0-3, 0,1)
--kernel-memory Kernel memory limit
--memory, -m Memory limit
--memory-reservation Memory soft limit
--memory-swap Swap limit equal to memory plus swap: ‘-1’ to enable unlimited swap
--restart Restart policy to apply when a container exits

Parent command

Command Description
docker The base command for the Docker CLI.

© 2013–2016 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/engine/reference/commandline/update/

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部