Bugfix of docker-compose file for privileged 71/33571/1
authoryuyang <Gabriel.yuyang@huawei.com>
Thu, 20 Apr 2017 07:05:58 +0000 (15:05 +0800)
committeryuyang <Gabriel.yuyang@huawei.com>
Thu, 20 Apr 2017 07:05:58 +0000 (15:05 +0800)
JIRA: BOTTLENECK-163

privileged option in docker-compose file should be true to avoid
"permission deny" error when accessing directories

Change-Id: I1a57146236efb5fe71405c5b7682af706a8814bf
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
docker/bottleneck-compose/docker-compose.yml

index 7745f41..98d1297 100644 (file)
@@ -1,6 +1,7 @@
 elasticsearch:
   image: elasticsearch:2.4.0
   command: elasticsearch -Des.network.host=0.0.0.0
+  privileged: true
   ports:
     - "9200:9200"
     - "9300:9300"
@@ -9,6 +10,7 @@ kibana:
   build: kibana/
   volumes:
     - ./kibana/config/:/opt/kibana/config/
+  privileged: true
   ports:
     - "5601:5601"
   links:
@@ -33,6 +35,7 @@ bottlenecks:
   volumes:
     - /var/run/docker.sock:/var/run/docker.sock
     - /tmp/:/tmp/
+  privileged: true
   environment:
     - INSTALLER_IP=192.168.200.2
     - INSTALLER_TYPE=compass