mirror of
https://github.com/docker/cli.git
synced 2025-08-27 13:42:00 +03:00
Wording and documentation still need to be updated, but will do so in a follow-up. Also removing the default "10 seconds" from the timeout flags, as this default is not actually used, and may not match the actual default (which is defined on the daemon side). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
24 lines
433 B
Markdown
24 lines
433 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:
|
|
-s, --signal string Signal to send to the container
|
|
-t, --time int Seconds to wait before killing the container
|
|
```
|
|
|
|
## Examples
|
|
|
|
```console
|
|
$ docker restart my_container
|
|
```
|