Files
docker-cli/components/engine/docs/reference/commandline/stop.md
Misty Stanley-Jones 7196026b57 Standardized formatting of CLI reference commands
Command name should be a H1

Only Description, Examples, and Related Commands should be H2

Changed 'Related information' heading to 'Related commands' since 99% it is only linking commands

Added some examples where relevant

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 52df69f00d966904ba230dc2e3a0646cc52b7688
Component: engine
2017-02-08 16:57:58 -08:00

923 B

title, description, keywords
title description keywords
stop The stop command description and usage stop, SIGKILL, SIGTERM

stop

Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]

Stop one or more running containers

Options:
      --help       Print usage
  -t, --time int   Seconds to wait for stop before killing it (default 10)

Description

The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL.

Examples

$ docker stop my_container