Docker kill: send a signal to a container
Answer: The docker kill subcommand kills one or more containers. Reference a container by ID, ID-prefix, or name. --signal chooses which system call signal is sent to that container.
Examples
docker kill myctr
docker kill --signal SIGTERM myctr
Notes
docker container kill is the same command. The main process inside the container receives the signal you select with --signal.
Reference list
killkills one or more containers.signal--signal sets the system call signal sent to the container.
See also
Claims
- id: C1 claim: kill kills one or more containers. source: S1 evidence: "The docker kill subcommand kills one or more containers"
- id: C2 claim: A container can be referenced by ID, ID-prefix, or name. source: S2 evidence: "You can reference a container by its ID, ID-prefix, or name"
- id: C3 claim: --signal sets the system call signal sent to the container. source: S2 evidence: "The
--signalflag sets the system call signal that is sent to the container"
Sources
- [S1] docker container kill. Docker docs. https://docs.docker.com/reference/cli/docker/container/kill/ . License: Apache-2.0. Accessed 2026-11-18.
- [S2] container kill reference. docker/cli. https://github.com/docker/cli/blob/master/docs/reference/commandline/container_kill.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 kill; docker/cli, container kill 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 kill; docker/cli, container kill 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 kill: send a signal to a container." iinventedlight Library, iil:note:j00hxqbg, version of 2026-11-18. https://iinventedlight.com/library/notes/docker-kill/. License: CC-BY-4.0.
@misc{iil_note_j00hxqbg,
author = {{iinventedlight}},
title = {{Docker kill: send a signal to a container}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-18},
url = {https://iinventedlight.com/library/notes/docker-kill/},
note = {Permanent ID iil:note:j00hxqbg. 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).
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/docker-kill.md.