Docker

docker kill

CautionKill a container

docker kill <container>

Sends SIGKILL immediately (stop is graceful). Last resort for hung containers; prefer stop for data safety.

Examples

  • docker kill web01Force-kill a hung container

Syntax

docker kill [-s signal] <container>

Before you run it

No grace period — risk of data loss.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store