Signed-off-by: Harald Albers <github@albersweb.de>
| ... | ... |
@@ -173,7 +173,7 @@ func addFlags(flags *pflag.FlagSet) *containerOptions {
|
| 173 | 173 |
flags.Var(&copts.labelsFile, "label-file", "Read in a line delimited file of labels") |
| 174 | 174 |
flags.BoolVar(&copts.readonlyRootfs, "read-only", false, "Mount the container's root filesystem as read only") |
| 175 | 175 |
flags.StringVar(&copts.restartPolicy, "restart", "no", "Restart policy to apply when a container exits") |
| 176 |
- flags.StringVar(&copts.stopSignal, "stop-signal", signal.DefaultStopSignal, fmt.Sprintf("Signal to stop a container, %v by default", signal.DefaultStopSignal))
|
|
| 176 |
+ flags.StringVar(&copts.stopSignal, "stop-signal", signal.DefaultStopSignal, "Signal to stop a container") |
|
| 177 | 177 |
flags.IntVar(&copts.stopTimeout, "stop-timeout", 0, "Timeout (in seconds) to stop a container") |
| 178 | 178 |
flags.SetAnnotation("stop-timeout", "version", []string{"1.25"})
|
| 179 | 179 |
flags.Var(copts.sysctls, "sysctl", "Sysctl options") |
| ... | ... |
@@ -111,7 +111,7 @@ Options: |
| 111 | 111 |
The format is `<number><unit>`. `number` must be greater than `0`. |
| 112 | 112 |
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), |
| 113 | 113 |
or `g` (gigabytes). If you omit the unit, the system uses bytes. |
| 114 |
- --stop-signal string Signal to stop a container, SIGTERM by default (default "SIGTERM") |
|
| 114 |
+ --stop-signal string Signal to stop a container (default "SIGTERM") |
|
| 115 | 115 |
--stop-timeout=10 Timeout (in seconds) to stop a container |
| 116 | 116 |
--storage-opt value Storage driver options for the container (default []) |
| 117 | 117 |
--sysctl value Sysctl options (default map[]) |
| ... | ... |
@@ -122,7 +122,7 @@ Options: |
| 122 | 122 |
Unit is optional and can be `b` (bytes), `k` (kilobytes), `m` (megabytes), |
| 123 | 123 |
or `g` (gigabytes). If you omit the unit, the system uses bytes. |
| 124 | 124 |
--sig-proxy Proxy received signals to the process (default true) |
| 125 |
- --stop-signal string Signal to stop a container, SIGTERM by default (default "SIGTERM") |
|
| 125 |
+ --stop-signal string Signal to stop a container (default "SIGTERM") |
|
| 126 | 126 |
--stop-timeout=10 Timeout (in seconds) to stop a container |
| 127 | 127 |
--storage-opt value Storage driver options for the container (default []) |
| 128 | 128 |
--sysctl value Sysctl options (default map[]) |