Fix backticks in docs; refine --debug comment

This commit is contained in:
Karel Malec 2017-06-07 21:11:22 +02:00
parent a258a803f2
commit b55f4bf601
2 changed files with 4 additions and 4 deletions

View file

@ -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")

View file

@ -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.