add allow privileged option

This commit is contained in:
vincent 2022-05-10 08:28:04 +02:00
parent f126c12961
commit 0879ca8f47
2 changed files with 2 additions and 0 deletions

View File

@ -21,3 +21,4 @@ nomad_host_networks:
# cidr: # cidr:
# interface: # interface:
# reserved_ports: # reserved_ports:
nomad_allow_privileged: False

View File

@ -41,6 +41,7 @@ plugin "docker"{
enabled = true enabled = true
selinuxlabel = "z" selinuxlabel = "z"
} }
allow_privileged = {{ nomad_allow_privileged|lower }}
} }
} }