github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/docs/reference/commandline/stop.md (about)

     1  ---
     2  title: "stop"
     3  description: "The stop command description and usage"
     4  keywords: "stop, SIGKILL, SIGTERM"
     5  ---
     6  
     7  <!-- This file is maintained within the docker/cli GitHub
     8       repository at https://github.com/docker/cli/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # stop
    17  
    18  ```markdown
    19  Usage:  docker stop [OPTIONS] CONTAINER [CONTAINER...]
    20  
    21  Stop one or more running containers
    22  
    23  Options:
    24        --help       Print usage
    25    -t, --time int   Seconds to wait for stop before killing it (default 10)
    26  ```
    27  
    28  ## Description
    29  
    30  The main process inside the container will receive `SIGTERM`, and after a grace
    31  period, `SIGKILL`.
    32  
    33  ## Examples
    34  
    35  ```bash
    36  $ docker stop my_container
    37  ```