github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/docs/drivers/rkt.html.md (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Drivers: Rkt"
     4  sidebar_current: "docs-drivers-rkt"
     5  description: |-
     6    The Rkt task driver is used to run application containers using Rkt.
     7  ---
     8  
     9  # Rkt Driver
    10  
    11  Name: `rkt`
    12  
    13  The `Rkt` driver provides an interface for using CoreOS Rkt for running
    14  application containers. Currently, the driver supports launching
    15  containers.
    16  
    17  ## Task Configuration
    18  
    19  The `Rkt` driver supports the following configuration in the job spec:
    20  
    21  * `trust_prefix` - **(Optional)** The trust prefix to be passed to rkt. Must be reachable from
    22  the box running the nomad agent. If not specified, the image is run without
    23  verifying the image signature.
    24  * `image` - **(Required)** The image to run which may be specified by name,
    25  hash, ACI address or docker registry.
    26  * `command` - **(Optional**) A command to execute on the ACI.
    27  * `args` - **(Optional**) A string of args to pass into the image.
    28  
    29  ## Task Directories
    30  
    31  The `Rkt` driver does not currently support mounting the `alloc/` and `local/`
    32  directory. It is currently blocked by this [Rkt
    33  issue](https://github.com/coreos/rkt/issues/761). As such the coresponding
    34  [environment variables](/docs/jobspec/environment.html#task_dir) are not set.
    35  
    36  ## Client Requirements
    37  
    38  The `Rkt` driver requires rkt to be installed and in your systems `$PATH`.
    39  The `trust_prefix` must be accessible by the node running Nomad. This can be an
    40  internal source, private to your cluster, but it must be reachable by the client
    41  over HTTP.
    42  
    43  ## Client Attributes
    44  
    45  The `Rkt` driver will set the following client attributes:
    46  
    47  * `driver.rkt` - Set to `1` if Rkt is found on the host node. Nomad determines
    48  this by executing `rkt version` on the host and parsing the output
    49  * `driver.rkt.version` - Version of `rkt` eg: `0.8.1`
    50  * `driver.rkt.appc.version` - Version of `appc` that `rkt` is using eg: `0.8.1`
    51  
    52  ## Resource Isolation
    53  
    54  This driver does not support any resource isolation as of now.