mirror of https://github.com/docker/docs.git
17 lines
381 B
YAML
17 lines
381 B
YAML
command: docker restart
|
|
short: Restart one or more containers
|
|
long: Restart one or more containers
|
|
usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
|
|
pname: docker
|
|
plink: docker.yaml
|
|
options:
|
|
- option: time
|
|
shorthand: t
|
|
default_value: "10"
|
|
description: Seconds to wait for stop before killing the container
|
|
examples: |-
|
|
```bash
|
|
$ docker restart my_container
|
|
```
|
|
|