From 471d22ba03e52849d0b7525c831c667655567292 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Mon, 10 Dec 2018 17:24:43 +0100 Subject: [PATCH] Without host mode the docker container id is referenced in volume name. --- roles/cinder-storage/templates/cinder-storage.service | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/cinder-storage/templates/cinder-storage.service b/roles/cinder-storage/templates/cinder-storage.service index df85aeb..48108e3 100644 --- a/roles/cinder-storage/templates/cinder-storage.service +++ b/roles/cinder-storage/templates/cinder-storage.service @@ -15,6 +15,7 @@ ExecStart=/usr/bin/docker run --name %n \ -v /etc/ceph:/etc/ceph \ -p 8777:8776 \ -p 3260:3260 \ + --network=host \ {{ docker_image }} [Install]