DockerCLI/docs/reference/commandline/restart.md

27 lines
486 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
Aliases:
docker container restart, docker restart
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
```