mirror of
https://github.com/docker/cli.git
synced 2025-08-27 13:42:00 +03:00
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>
24 lines
422 B
Markdown
24 lines
422 B
Markdown
---
|
|
title: "restart"
|
|
description: "The restart command description and usage"
|
|
keywords: "restart, container, Docker"
|
|
---
|
|
|
|
# restart
|
|
|
|
```markdown
|
|
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
|
|
|
|
Restart one or more containers
|
|
|
|
Options:
|
|
--help Print usage
|
|
-t, --time int Seconds to wait for stop before killing the container (default 10)
|
|
```
|
|
|
|
## Examples
|
|
|
|
```bash
|
|
$ docker restart my_container
|
|
```
|