Fix backticks in docs; refine --debug comment
This commit is contained in:
parent
a258a803f2
commit
b55f4bf601
|
@ -275,7 +275,7 @@ func (d *RktDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle, e
|
|||
cmdArgs = append(cmdArgs, "--insecure-options=all")
|
||||
}
|
||||
|
||||
// same for debug
|
||||
// debug is rkt's global argument, so add it before the actual "run"
|
||||
cmdArgs = append(cmdArgs, fmt.Sprintf("--debug=%t", debug))
|
||||
|
||||
cmdArgs = append(cmdArgs, "run")
|
||||
|
|
|
@ -62,10 +62,10 @@ The `rkt` driver supports the following configuration in the job spec:
|
|||
|
||||
* `trust_prefix` - (Optional) The trust prefix to be passed to rkt. Must be
|
||||
reachable from the box running the nomad agent. If not specified, the image is
|
||||
run with ```--insecure-options=all```.
|
||||
run with `--insecure-options=all`.
|
||||
|
||||
* `insecure_options` - (Optional) List of insecure options for rkt. Consult ```rkt --help```
|
||||
for list of supported values. This list overrides the ```--insecure-options=all``` when
|
||||
* `insecure_options` - (Optional) List of insecure options for rkt. Consult `rkt --help`
|
||||
for list of supported values. This list overrides the `--insecure-options=all` default when
|
||||
no ```trust_prefix``` is provided in the job config, which can be effectively used to enforce
|
||||
secure runs, using ```insecure_options = ["none"]``` option.
|
||||
|
||||
|
|
Loading…
Reference in a new issue