...

Text file src/github.com/docker/cli/docs/reference/commandline/container_restart.md

Documentation: github.com/docker/cli/docs/reference/commandline

     1# restart
     2
     3<!---MARKER_GEN_START-->
     4Restart one or more containers
     5
     6### Aliases
     7
     8`docker container restart`, `docker restart`
     9
    10### Options
    11
    12| Name             | Type     | Default | Description                                  |
    13|:-----------------|:---------|:--------|:---------------------------------------------|
    14| `-s`, `--signal` | `string` |         | Signal to send to the container              |
    15| `-t`, `--time`   | `int`    | `0`     | Seconds to wait before killing the container |
    16
    17
    18<!---MARKER_GEN_END-->
    19
    20## Examples
    21
    22```console
    23$ docker restart my_container
    24```

View as plain text