DockerCLI/docs/reference/commandline/restart.md

24 lines
433 B
Markdown
Raw Normal View History

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