mirror of
https://github.com/docker/docs.git
synced 2026-03-31 16:28:59 +07:00
- Update ps with `--last` flag - Update commands with current output - Make sure hugo does not detect the wrong language - Update usage for `tag` command to be more coherent with the other ones Signed-off-by: Vincent Demeester <vincent@sbr.pm> (cherry picked from commit f4cfc6b9830ed236eb588d6a4dddca7455145e70) Signed-off-by: Tibor Vass <tibor@docker.com>
22 lines
427 B
Markdown
22 lines
427 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "restart"
|
|
description = "The restart command description and usage"
|
|
keywords = ["restart, container, Docker"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# restart
|
|
|
|
```markdown
|
|
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
|
|
|
|
Restart a container
|
|
|
|
Options:
|
|
--help Print usage
|
|
-t, --time int Seconds to wait for stop before killing the container (default 10)
|
|
```
|