github.com/smintz/nomad@v0.8.3/dev/docker-clients/README.md (about)

     1  This package provides a convenient way to create a local Nomad cluster for
     2  testing and development.
     3  
     4  # Server
     5  
     6  In order to create the cluster, first start the Nomad agent as follows from this
     7  directory:
     8  
     9  ## Non-persistent server
    10  
    11  ```
    12  nomad agent -dev -config docker-privileged.hcl
    13  ```
    14  
    15  The configuration allows the Docker driver to start containers with
    16  `Privileged` parameter.
    17  
    18  ## Persistent Server
    19  
    20  To start a server that can be shutdown and restarted run the following:
    21  
    22  ```
    23  nomad agent -config persistent.hcl
    24  ```
    25  
    26  # Clients
    27  
    28  Next, modify the count of client.nomad to run the desired number of Nomad
    29  clients and then run the job.
    30  
    31  ```
    32  nomad run client.nomad
    33  ```
    34  
    35  After a few seconds, you will be able to run:
    36  
    37  ```
    38  nomad node-status
    39  ```
    40  
    41  And see the clients have started up.