1
0
mirror of https://github.com/docker/cli.git synced 2025-08-27 13:42:00 +03:00
Files
cli/docs/reference/commandline/restart.md
Sebastiaan van Stijn 86c30e6a0d add --signal option to stop and restart
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>
2022-05-17 11:35:16 +02:00

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
```