1
0
mirror of https://github.com/docker/cli.git synced 2025-08-18 18:22:03 +03:00
Files
cli/docs/reference/commandline/restart.md
2017-06-02 00:10:31 +00:00

27 lines
776 B
Markdown

---
title: "restart"
description: "The restart command description and usage"
keywords: "restart, container, Docker"
---
<!-- This file is maintained within the docker/docker Github
repository at https://github.com/docker/docker/. Make all
pull requests against that repo. If you see this file in
another repository, consider it read-only there, as it will
periodically be overwritten by the definitive file. Pull
requests which include edits to this file in other repositories
will be rejected.
-->
# restart
```markdown
Usage: docker restart [OPTIONS] CONTAINER [CONTAINER...]
Restart one or more containers
Options:
--help Print usage
-t, --time int Seconds to wait for stop before killing the container (default 10)
```