Skip to content

Commit 711e6b4

Browse files
committed
docker kill: use "SIGKILL" instead of "KILL" as default signal
Most of the documentation refers to the signals with the SIG prefix, so updating the default value to match that convention. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent ae3b0b3 commit 711e6b4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/command/container/kill.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NewKillCommand(dockerCli command.Cli) *cobra.Command {
3232
}
3333

3434
flags := cmd.Flags()
35-
flags.StringVarP(&opts.signal, "signal", "s", "KILL", "Signal to send to the container")
35+
flags.StringVarP(&opts.signal, "signal", "s", "SIGKILL", "Signal to send to the container")
3636
return cmd
3737
}
3838

docs/reference/commandline/kill.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Kill one or more running containers
1313

1414
Options:
1515
--help Print usage
16-
-s, --signal string Signal to send to the container (default "KILL")
16+
-s, --signal string Signal to send to the container (default "SIGKILL")
1717
```
1818

1919
## Description

0 commit comments

Comments
 (0)