add allow privileged option
This commit is contained in:
parent
f126c12961
commit
0879ca8f47
@ -21,3 +21,4 @@ nomad_host_networks:
|
|||||||
# cidr:
|
# cidr:
|
||||||
# interface:
|
# interface:
|
||||||
# reserved_ports:
|
# reserved_ports:
|
||||||
|
nomad_allow_privileged: False
|
||||||
|
@ -41,6 +41,7 @@ plugin "docker"{
|
|||||||
enabled = true
|
enabled = true
|
||||||
selinuxlabel = "z"
|
selinuxlabel = "z"
|
||||||
}
|
}
|
||||||
|
allow_privileged = {{ nomad_allow_privileged|lower }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user