From bd906ed208e961b5f28f44e6ad02813912edc1c3 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 2 Aug 2017 13:30:42 -0700 Subject: [PATCH] Persistent server config --- dev/docker-clients/README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dev/docker-clients/README.md b/dev/docker-clients/README.md index 4f04d1db4..4798dd3ec 100644 --- a/dev/docker-clients/README.md +++ b/dev/docker-clients/README.md @@ -1,16 +1,30 @@ This package provides a convenient way to create a local Nomad cluster for testing and development. +# Server + In order to create the cluster, first start the Nomad agent as follows from this directory: +## Non-persistent server + ``` nomad agent -dev -config docker-privileged.conf ``` -This configuration allows the Docker driver to start containers with +The configuration allows the Docker driver to start containers with `Privileged` parameter. +## Persistent Server + +To start a server that can be shutdown and restarted run the following: + +``` +nomad agent -config persistent-server.conf +``` + +# Clients + Next, modify the count of client.nomad to run the desired number of Nomad clients and then run the job.