Files
docker-docs/_data/engine-cli/docker_stop.yaml
Sebastiaan van Stijn be3e8f3632 update engine reference docs
regenerated the yaml-docs with the latest changes from the 20.10 branch

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-04 15:47:17 +02:00

32 lines
801 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`. The first signal can be changed with the `STOPSIGNAL`
instruction in the container's Dockerfile, or the `--stop-signal` option to
`docker run`.
usage: docker stop [OPTIONS] CONTAINER [CONTAINER...]
pname: docker
plink: docker.yaml
options:
- option: time
shorthand: t
value_type: int
default_value: "10"
description: Seconds to wait for stop before killing it
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
examples: |-
```bash
$ docker stop my_container
```
deprecated: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false