github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/container_restart.md (about)

     1  # restart
     2  
     3  <!---MARKER_GEN_START-->
     4  Restart 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  ```