Files
docker-docs/_data/engine-cli/docker_stop.yaml
French Ben 7c894d5fb1 Updated example to examples in yaml
Signed-off-by: French Ben <frenchben@docker.com>
2017-02-14 15:04:51 -08:00

19 lines
441 B
YAML

command: docker stop
short: Stop one or more running containers
long: |-
The main process inside the container will receive `SIGTERM`, and after a grace
period, `SIGKILL`.
usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
pname: docker
plink: docker.yaml
options:
- option: time
shorthand: t
default_value: "10"
description: Seconds to wait for stop before killing it
examples: |-
```bash
$ docker stop my_container
```