mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
52df69f00d
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>
923 B
923 B
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