Docker update: change a running container configuration
Answer: docker update dynamically updates container configuration. One command can place limits on a single container or on many. The docker update command is not supported for Windows containers. A new restart policy takes effect instantly.
Examples
docker update --memory 512m my_container
Notes
Pass a space-separated list of names or IDs to update more than one container.
Reference list
docker updatedynamically updates container configuration.Windowscontainers are not supported by this command.restart policytakes effect instantly after the update.
See also
Claims
- id: C1 claim: docker update dynamically updates container configuration. source: S1 evidence: "The docker update command dynamically updates container configuration."
- id: C2 claim: The command is not supported for Windows containers. source: S1 evidence: "not supported for Windows containers"
- id: C3 claim: A new restart policy takes effect instantly. source: S2 evidence: "The new restart policy takes effect instantly"
Sources
- [S1] docker container update. Docker docs. https://docs.docker.com/reference/cli/docker/container/update/ . License: Apache-2.0. Accessed 2026-11-18.
- [S2] container update reference. docker/cli. https://github.com/docker/cli/blob/master/docs/reference/commandline/container_update.md . License: Apache-2.0. Accessed 2026-11-18.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Docker docs, docker container update; docker/cli, container update reference. Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Docker docs, docker container update; docker/cli, container update reference. Apache-2.0 (https://raw.githubusercontent.com/docker/docs/main/LICENSE). Copyright Docker, Inc. Apache-2.0 (https://raw.githubusercontent.com/docker/cli/master/LICENSE). Copyright Docker, Inc.
Cite this
iinventedlight. 2026. "Docker update: change a running container configuration." iinventedlight Library, iil:note:zr519smf, version of 2026-11-18. https://iinventedlight.com/library/notes/docker-update/. License: CC-BY-4.0.
@misc{iil_note_zr519smf,
author = {{iinventedlight}},
title = {{Docker update: change a running container configuration}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/docker-update/},
note = {Permanent ID iil:note:zr519smf. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- docker-update.table.json (table; CC-BY-4.0)
- docker-update.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-update.md.