This commit is contained in:
Alex Dadgar 2017-08-02 13:33:46 -07:00
parent 8e9d39ee1f
commit 21155d0a4e
3 changed files with 18 additions and 2 deletions

View File

@ -9,7 +9,7 @@ directory:
## Non-persistent server
```
nomad agent -dev -config docker-privileged.conf
nomad agent -dev -config docker-privileged.hcl
```
The configuration allows the Docker driver to start containers with
@ -20,7 +20,7 @@ The configuration allows the Docker driver to start containers with
To start a server that can be shutdown and restarted run the following:
```
nomad agent -config persistent-server.conf
nomad agent -config persistent.hcl
```
# Clients

View File

@ -0,0 +1,16 @@
log_level = "DEBUG"
data_dir = "/tmp/server"
server {
enabled = true
# Self-elect, should be 3 or 5 for production
bootstrap_expect = 1
}
client {
enabled = true
options {
"docker.privileged.enabled" = "true"
}
}