Skip to content
masterclass Buddy

Docker · Directive

STOPSIGNAL

STOPSIGNAL sets the signal Docker sends when it stops a container. It accepts a signal name or an unsigned number, and defaults to SIGTERM when unset.

Last updated

Syntax

STOPSIGNAL signal

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • docker container stop
  • --stop-signal
  • docker run
  • docker create
  • SIGTERM
  • SIGKILL

Source: Dockerfile reference. Checked 2026-11-03.