CmdID

CmdID / Commands

docker-container-update

Update configuration of Docker containers. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Update configuration of Docker containers. Note: This command is not supported for Windows containers.

Update restart policy to apply when a specific container exits

docker [update|container update] --restart always container_nameIdentify

Update the policy to restart up to three times a specific container when it exits with non-zero exit status

docker [update|container update] --restart on-failure:3 container_nameIdentify

Update the number of CPUs available to a specific container

docker [update|container update] --cpus count container_nameIdentify

Update the memory limit in Megabytes for a specific container

docker [update|container update] --memory limitM container_nameIdentify

Update the maximum number of process IDs allowed inside a specific container (use -1 for unlimited)

docker [update|container update] --pids-limit count container_nameIdentify

Update the amount of memory in Megabytes a specific container can swap to disk (use -1 for unlimited)

docker [update|container update] --memory-swap limitM container_nameIdentify