@@ -9,10 +9,10 @@ Stop one or more running containers
99
1010### Options
1111
12- | Name | Type | Default | Description |
13- | :---------------------------------------| :---------| :--------| :---------------------------------------------|
14- | [ ` -s ` ] ( #signal ) , [ ` --signal ` ] ( #signal ) | ` string ` | | Signal to send to the container |
15- | [ ` -t ` ] ( #time ) , [ ` --time ` ] ( #time ) | ` int ` | ` 0 ` | Seconds to wait before killing the container |
12+ | Name | Type | Default | Description |
13+ | :------------------------------------------ | :---------| :--------| :---------------------------------------------|
14+ | [ ` -s ` ] ( #signal ) , [ ` --signal ` ] ( #signal ) | ` string ` | | Signal to send to the container |
15+ | [ ` -t ` ] ( #timeout ) , [ ` --timeout ` ] ( #timeout ) | ` int ` | ` 0 ` | Seconds to wait before killing the container |
1616
1717
1818<!-- -MARKER_GEN_END-->
@@ -45,14 +45,14 @@ Dockerfile instruction when building the image, or configured using the
4545option when creating the container. If no signal is configured for the
4646container, ` SIGTERM ` is used as default.
4747
48- ### <a name =" time " ></a > Stop container with timeout (-t, --timeout)
48+ ### <a name =" timeout " ></a > Stop container with timeout (-t, --timeout)
4949
50- The ` --time ` flag sets the number of seconds to wait for the container
50+ The ` --timeout ` flag sets the number of seconds to wait for the container
5151to stop after sending the pre-defined (see [ ` --signal ` ] {#signal)) system call signal.
5252If the container does not exit after the timeout elapses, it's forcibly killed
5353with a ` SIGKILL ` signal.
5454
55- If you set ` --time ` to ` -1 ` , no timeout is applied, and the daemon
55+ If you set ` --timeout ` to ` -1 ` , no timeout is applied, and the daemon
5656waits indefinitely for the container to exit.
5757
5858The default timeout can be specified using the [ ` --stop-timeout ` ] ( https://docs.docker.com/reference/cli/docker/container/run/#stop-timeout )
0 commit comments