these markdown files are not consumed directly in the docs,
but only their content is included through the YAML does,
so there's no need to have these comments in them
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f30bde6adb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
29 lines
513 B
Markdown
29 lines
513 B
Markdown
---
|
|
title: "stop"
|
|
description: "The stop command description and usage"
|
|
keywords: "stop, SIGKILL, SIGTERM"
|
|
---
|
|
|
|
# stop
|
|
|
|
```markdown
|
|
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
|
|
|
|
```bash
|
|
$ docker stop my_container
|
|
```
|