Merge pull request #1435 from mlafeldt/remove-code-snippet
Remove unrelated code snippet from docs
This commit is contained in:
commit
3cd8d9d84e
|
@ -43,15 +43,14 @@ The following options are available for use in the job specification.
|
|||
|
||||
* `command` - (Optional) The command to run when starting the container.
|
||||
|
||||
* `args` - (Optional) A list of arguments to the optional `command`. If no
|
||||
`command` is present, `args` are ignored. References to environment variables
|
||||
or any [interpretable Nomad
|
||||
variables](/docs/jobspec/interpreted.html) will be interpreted
|
||||
before launching the task. For example:
|
||||
* `args` - (Optional) A list of arguments to the optional `command`. If no
|
||||
`command` is present, `args` are ignored. References to environment variables
|
||||
or any [interpretable Nomad variables](/docs/jobspec/interpreted.html) will be
|
||||
interpreted before launching the task. For example:
|
||||
|
||||
```
|
||||
args = ["${nomad.datacenter}", "${MY_ENV}", "${meta.foo}"]
|
||||
```
|
||||
```
|
||||
args = ["${nomad.datacenter}", "${MY_ENV}", "${meta.foo}"]
|
||||
```
|
||||
|
||||
* `labels` - (Optional) A key/value map of labels to set to the containers on
|
||||
start.
|
||||
|
@ -305,10 +304,6 @@ options](/docs/agent/config.html#options):
|
|||
set to `host`, which gives access to the hosts ipc, pid and UTS namespaces
|
||||
respectively.
|
||||
|
||||
cert := d.config.Read("docker.tls.cert")
|
||||
key := d.config.Read("docker.tls.key")
|
||||
ca := d.config.Read("docker.tls.ca")
|
||||
|
||||
Note: When testing or using the `-dev` flag you can use `DOCKER_HOST`,
|
||||
`DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` to customize Nomad's behavior. If
|
||||
`docker.endpoint` is set Nomad will **only** read client configuration from the
|
||||
|
|
Loading…
Reference in New Issue