From f653f56ca071d5c1a42157e33c94cdf1976b15f9 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 30 Oct 2016 15:47:48 +0100 Subject: adding privileged for SELinux issue when mounting host dir --- Applications/phpmyadmin/docker-compose-demo.yml | 2 ++ Applications/phpmyadmin/docker-compose.yml | 1 + OS/docker-compose.yml | 1 + Services/apache/docker-compose.yml | 1 + Services/couchbase/docker-compose.yml | 1 + Services/mariadb/docker-compose.yml | 1 + Services/memcache/docker-compose.yml | 1 + Services/mongo/docker-compose.yml | 1 + Services/nodejs/docker-compose.yml | 1 + Services/ooconv/docker-compose.yml | 1 + Services/php/docker-compose.yml | 1 + Services/postgres/docker-compose.yml | 1 + 12 files changed, 13 insertions(+) diff --git a/Applications/phpmyadmin/docker-compose-demo.yml b/Applications/phpmyadmin/docker-compose-demo.yml index ee816e7..f9c3544 100644 --- a/Applications/phpmyadmin/docker-compose-demo.yml +++ b/Applications/phpmyadmin/docker-compose-demo.yml @@ -1,6 +1,7 @@ demo_pma: image: startx/sv-phpmyadmin container_name: "demo-pma" + privileged: true ports: - "81:80" links: @@ -13,6 +14,7 @@ demo_pma: demo_pma_db: image: startx/sv-mariadb container_name: "demo-pma-db" + privileged: true expose: - "3306" environment: diff --git a/Applications/phpmyadmin/docker-compose.yml b/Applications/phpmyadmin/docker-compose.yml index 0eb2b59..329848b 100644 --- a/Applications/phpmyadmin/docker-compose.yml +++ b/Applications/phpmyadmin/docker-compose.yml @@ -5,6 +5,7 @@ application: memswap_limit: 500m cpu_shares: 2 restart: "on-failure:2" + privileged: true ports: - "9215:80" - "9216:443" diff --git a/OS/docker-compose.yml b/OS/docker-compose.yml index bd30b96..ca465fe 100644 --- a/OS/docker-compose.yml +++ b/OS/docker-compose.yml @@ -5,6 +5,7 @@ fedora: memswap_limit: 1g cpu_shares: 2 restart: "on-failure:2" + privileged: true environment: CONTAINER_TYPE: "os" CONTAINER_SERVICE: "fedora" diff --git a/Services/apache/docker-compose.yml b/Services/apache/docker-compose.yml index 3c23a4b..d8c3460 100644 --- a/Services/apache/docker-compose.yml +++ b/Services/apache/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 500m cpu_shares: 2 restart: "on-failure:2" + privileged: true ports: - "9201:80" - "9202:443" diff --git a/Services/couchbase/docker-compose.yml b/Services/couchbase/docker-compose.yml index 309be52..dad4cd6 100644 --- a/Services/couchbase/docker-compose.yml +++ b/Services/couchbase/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 3g cpu_shares: 2 restart: "on-failure:2" + privileged: true ports: - "9271:11211" environment: diff --git a/Services/mariadb/docker-compose.yml b/Services/mariadb/docker-compose.yml index 18df4ad..c509f97 100644 --- a/Services/mariadb/docker-compose.yml +++ b/Services/mariadb/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 1g cpu_shares: 8 restart: "on-failure:2" + privileged: true ports: - "9231:3306" environment: diff --git a/Services/memcache/docker-compose.yml b/Services/memcache/docker-compose.yml index ae39b41..5fe7402 100644 --- a/Services/memcache/docker-compose.yml +++ b/Services/memcache/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 3g cpu_shares: 2 restart: "on-failure:2" + privileged: true ports: - "9271:11211" environment: diff --git a/Services/mongo/docker-compose.yml b/Services/mongo/docker-compose.yml index 3109a53..2724e19 100644 --- a/Services/mongo/docker-compose.yml +++ b/Services/mongo/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 2g cpu_shares: 10 restart: "on-failure:2" + privileged: true ports: - "9251:27017" - "9252:28017" diff --git a/Services/nodejs/docker-compose.yml b/Services/nodejs/docker-compose.yml index a2374ed..e181fbc 100644 --- a/Services/nodejs/docker-compose.yml +++ b/Services/nodejs/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 2g cpu_shares: 4 restart: "on-failure:2" + privileged: true ports: - "9221:8080" environment: diff --git a/Services/ooconv/docker-compose.yml b/Services/ooconv/docker-compose.yml index bcead90..2d47139 100644 --- a/Services/ooconv/docker-compose.yml +++ b/Services/ooconv/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 2g cpu_shares: 8 restart: "on-failure:2" + privileged: true ports: - "9261:2002" environment: diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml index fa3f05f..c66779e 100644 --- a/Services/php/docker-compose.yml +++ b/Services/php/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 1g cpu_shares: 5 restart: "on-failure:2" + privileged: true ports: - "9213:80" - "9214:443" diff --git a/Services/postgres/docker-compose.yml b/Services/postgres/docker-compose.yml index d16ed2a..c57b19b 100644 --- a/Services/postgres/docker-compose.yml +++ b/Services/postgres/docker-compose.yml @@ -5,6 +5,7 @@ server: memswap_limit: 1g cpu_shares: 8 restart: "on-failure:2" + privileged: true ports: - "9241:5432" environment: -- cgit v1.2.3