Rename
This commit is contained in:
parent
8e9d39ee1f
commit
21155d0a4e
|
@ -9,7 +9,7 @@ directory:
|
||||||
## Non-persistent server
|
## 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
|
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:
|
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
|
# Clients
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue