You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/commandline/run.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Options:
119
119
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes),
120
120
or `g` (gigabytes). If you omit the unit, the system uses bytes.
121
121
--sig-proxy Proxy received signals to the process (default true)
122
-
--stop-signal string Signal to stop a container (default "SIGTERM")
122
+
--stop-signal string Signal to stop the container
123
123
--stop-timeout int Timeout (in seconds) to stop a container
124
124
--storage-opt value Storage driver options for the container (default [])
125
125
--sysctl value Sysctl options (default map[])
@@ -752,7 +752,8 @@ container to exit. This signal can be a signal name in the format `SIG<NAME>`,
752
752
for instance `SIGKILL`, or an unsigned number that matches a position in the
753
753
kernel's syscall table, for instance `9`.
754
754
755
-
The default is `SIGTERM` if not specified.
755
+
The default is defined by [`STOPSIGNAL`](https://docs.docker.com/engine/reference/builder/#stopsignal)
756
+
in the image, or `SIGTERM` if the image has no `STOPSIGNAL` defined.
0 commit comments