From faf39bbb282542efa237c39f4371918589508254 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 5 Jul 2020 20:36:16 +0200 Subject: Fix docker volume --- ansible/roles/nomad/templates/nomad.hcl.j2 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ansible/roles/nomad/templates') diff --git a/ansible/roles/nomad/templates/nomad.hcl.j2 b/ansible/roles/nomad/templates/nomad.hcl.j2 index 8107410..b0be6a8 100644 --- a/ansible/roles/nomad/templates/nomad.hcl.j2 +++ b/ansible/roles/nomad/templates/nomad.hcl.j2 @@ -26,5 +26,9 @@ client { #cpu_total_compute = 4000 servers = ["127.0.0.1:4648"] network_interface = "{{ interface }}" + options { + docker.privileged.enabled = "true" + docker.volumes.enabled = "true" + } } -- cgit v1.2.3